TableOperationsTToDataTableAsync Method

Converts the given collection of records into a DataTable.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.176 -- Release Build+f9cb1e8a5a5af2031de3a84a9e36d2e86d15576a
public Task<DataTable> ToDataTableAsync(
	IAsyncEnumerable<T> records,
	CancellationToken cancellationToken
)

Parameters

records  IAsyncEnumerableT
The collection of records to be inserted into the data table.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskDataTable
A data table containing data from the given records.

See Also