Show / Hide Table of Contents

Method GenerateAsync

| Improve this Doc View Source

GenerateAsync(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

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest