[]
SourceTable represents a table containing rows of data.
public class SourceTable : IDisposable
Name | Description |
---|---|
SourceTable(bool) | The constructor of a SourceTable. |
Name | Description |
---|---|
Columns | An IEnumerable containing tuples representing the column name and the data type of each column. |
FieldCount | The number of fields (Columns) of the current row. |
OneTimeLoad | If this property is set to true than the rows are lazily loaded from the received DbDataReader. Otherwise all rows are loaded at once. This may affect the performance of the application. |
Rows | An IEnumerable containing the rows of the SourceTable. |
TableName | The name of the table. |
Name | Description |
---|---|
Dispose() | The dispose method of C1.DataConnector.SourceTable |
InitiateFromReader(DbDataReader, string, Action, Type[]) | Create a SourceTable from a DbDataReader. Datarows will be lazy-loaded when iterating Rows property. |
LoadFromReader(DbDataReader, string, Action, Type[]) | Create a SourceTable from a DbDataReader. All datarows will be loaded into memory. |