Class DbInitializer<T>
Generic base class to initialize the database.
Implements
System.IProgress<DbInitProgress>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public abstract class DbInitializer<T> : DbInitializer, IProgress<DbInitProgress> where T : DbSession
Type Parameters
Name | Description |
---|---|
T | Type of database session. |
Properties
Name | Description |
---|---|
Db | Gets the prototype database session. |
Methods
Name | Description |
---|---|
GenerateAsync(T, IProgress<DbInitProgress>, CancellationToken) | Creates the database. |