Method LoadTables
- Namespace
- Open.Database.Extensions.Synchronous
- Assembly
- Open.Database.Extensions.Core.dll
LoadTables(IExecuteReader)
Loads each result set of the command into its own DataTable.
public static List<DataTable> LoadTables(this IExecuteReader command)
Parameters
commandIExecuteReaderThe command to read from.
Returns
Remarks
It calls NextResult() to check for more results.
Exceptions
- ArgumentNullException
commandis null.