Table of Contents

Method ToDataTables

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

ToDataTables(IDataReader)

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

public static List<DataTable> ToDataTables(this IDataReader reader)

Parameters

reader IDataReader

The IDataReader to load data from.

Returns

List<DataTable>

The resultant list of DataTables.