Table of Contents

Method LoadTables

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

LoadTables(IExecuteReader)

Loads all data from a command through an IDataReader into a DataTables. Calls .NextResult() to check for more results.

public static List<DataTable> LoadTables(this IExecuteReader command)

Parameters

command IExecuteReader

The IExecuteReader to iterate.

Returns

List<DataTable>

The resultant list of DataTables.