Method GenerateAsync
| Improve this Doc View SourceGenerateAsync(T, IProgress<DbInitProgress>, CancellationToken)
Creates the database.
Declaration
public abstract Task<T> GenerateAsync(T db, IProgress<DbInitProgress> progress = null, CancellationToken ct = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| T | db | The prototype database session object. |
| System.IProgress<DbInitProgress> | progress | Provider for progress update. |
| System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> | The database session for newly created database |