Method ToDataSetAsync
| Improve this Doc View SourceToDataSetAsync(CancellationToken)
Saves this database recordset into DataSet.
Declaration
public Task<DataSet<T>> ToDataSetAsync(CancellationToken ct = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DataSet<T>> | The saved DataSet. |
ToDataSetAsync(Action<T>, CancellationToken)
Saves this database recordset into DataSet.
Declaration
public Task<DataSet<T>> ToDataSetAsync(Action<T> initializer, CancellationToken ct = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | initializer | The entity initializer. |
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DataSet<T>> | The saved DataSet. |