Method CreateTempTableAsync
| Improve this Doc View SourceCreateTempTableAsync<T>(CancellationToken)
Creates temporary database table.
Declaration
public Task<DbTable<T>> CreateTempTableAsync<T>(CancellationToken ct = default(CancellationToken))
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DbTable<T>> | The created temporary table. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateTempTableAsync<T>(T, CancellationToken)
Create temporary database table for specified entity.
Declaration
public Task<DbTable<T>> CreateTempTableAsync<T>(T _, CancellationToken ct = default(CancellationToken))
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
T | _ | The specified entity. |
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DbTable<T>> | The created temporary table. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateTempTableAsync<T>(Action<T>, CancellationToken)
Creates temporary database table.
Declaration
public Task<DbTable<T>> CreateTempTableAsync<T>(Action<T> initializer, CancellationToken ct = default(CancellationToken))
where T : class, IEntity, new()
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<DbTable<T>> | The created temporary table. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |
CreateTempTableAsync<T>(T, Action<T>, CancellationToken)
Create temporary database table for specified entity.
Declaration
public Task<DbTable<T>> CreateTempTableAsync<T>(T _, Action<T> initializer, CancellationToken ct = default(CancellationToken))
where T : class, IEntity, new()
Parameters
Type | Name | Description |
---|---|---|
T | _ | The specified entity. |
System.Action<T> | initializer | The entity initializer. |
System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DbTable<T>> | The created temporary table. |
Type Parameters
Name | Description |
---|---|
T | Type of the entity. |