In This Topic
Create a
SourceTable from a
System.Data.Common.DbDataReader. All datarows will be loaded into memory.
Syntax
Parameters
- reader
- An open System.Data.Common.DbDataReader.
- newTableName
- Name of newly-created SourceTable.
- dispose
- This action will be invoked when this SourceTable instance is being disposed. In normal cases it's used to release resources like System.Data.Common.DbDataReader, System.Data.Common.DbCommand and System.Data.Common.DbConnection. Set null to do nothing.
- columnTypeConversions
-
Optional parameter that must be used if it desired to convert a retrieved field of a row to a specific type.
Return Value
See Also