DataAccessCreateDataTableFromDataReaderSchema Method |
Creates a DataTable from the schema of a DataReader
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax public DataTable CreateDataTableFromDataReaderSchema(
DbDataReader dataReader,
string tableName
)
Public Function CreateDataTableFromDataReaderSchema (
dataReader As DbDataReader,
tableName As String
) As DataTable
Parameters
- dataReader
- Type: System.Data.CommonDbDataReader
A DataReader to clone the DataTable schema from - tableName
- Type: SystemString
An identifier for the created table
Return Value
Type:
DataTableA DataTable which schema has be been cloned from a given DataReader
See Also