Table of Contents

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

command IExecuteReader

The command to read from.

Returns

List<DataTable>

The resultant list of tables.

Remarks

It calls NextResult() to check for more results.

Exceptions

ArgumentNullException

command is null.