Click or drag to resize

DataTableFillerFill Method

Fills the specified datatable with the data from the datareader.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static void Fill(
	IDataReader dataSource,
	DataTable toFill,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	IRetrievalQuery queryExecuted
)

Parameters

dataSource
Type: System.DataIDataReader
Data source. Is assumed the reader is at the first record, so Read() has been called.
toFill
Type: System.DataDataTable
To fill.
fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Fields persistence info.
queryExecuted
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
Query executed.
Remarks
DataReader isn't cleaned up afterwards. Call PersistenceCore.CleanupDataReader afterwards when you're done with the reader
See Also