ITableOperationsToDataTableAsync Method
Converts the given collection of records into a DataTable.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
Task<DataTable> ToDataTableAsync(
IAsyncEnumerable<Object?> records,
CancellationToken cancellationToken
)
Function ToDataTableAsync (
records As IAsyncEnumerable(Of Object),
cancellationToken As CancellationToken
) As Task(Of DataTable)
Task<DataTable^>^ ToDataTableAsync(
IAsyncEnumerable<Object^>^ records,
CancellationToken cancellationToken
)
function ToDataTableAsync(records, cancellationToken);
- records IAsyncEnumerableObject
- The collection of records to be inserted into the data table.
- cancellationToken CancellationToken
- Propagates notification that operations should be canceled.
TaskDataTableA data table containing data from the given records.