Skip to content

SchemaReconciliation Class ​

Definition ​

Static Class exposing methods for performing Schema Reconciliation

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Methods ​

NameDescription
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<TableInfo> tables, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null, IList<DdlStatement> statements = null)Compares an enumerable list of Type to their current database definition
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<TableInfo> tables, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null, IList<DdlStatement> statements = null, IList<SchemaChangeWarning> warnings = null)Compares an enumerable list of TableInfo to their current database definition
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<Type> types, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null)Compares an enumerable list of Type to their database definition
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<Type> types, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null, IList<DdlStatement> statements = null)Compares an enumerable list of Type to their database definition
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<Type> types, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null, IList<DdlStatement> statements = null, IList<SchemaChangeWarning> warnings = null)Compares an enumerable list of Type to their database definition
IReadOnlyList<Type> GetTableModels(Assembly assembly = null)Returns a list of Type's decorated with TableAttribute or TableAttribute from the provided assembly.