MemorySource

Class MemorySource

Define a source based on a generic .NET collection. This could be a List<T> or any other IEnumerable<T>. By default, an empty List<T> is created which can be filled with data.

Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class MemorySource : MemorySource<ExpandoObject>, IDataFlowExecutableSource<ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowExecutableSource, IDataFlowSource, IDataFlowComponent, ILoggableTask
Examples
  MemorySource<MyRow> source = new MemorySource<MyRow>();
                       source.Data = new List<MyRow>()
                       {
                           new MyRow() { Id = 1, Value = "Test1" },
                           new MyRow() { Id = 2, Value = "Test2" },
                           new MyRow() { Id = 3, Value = "Test3" }
                       };

Constructors

MemorySource()

Declaration
    public MemorySource()

MemorySource(IList<ExpandoObject>)

Declaration
    public MemorySource(IList<ExpandoObject> data)
Parameters
TypeNameDescription
IList<ExpandoObject>data

Implements