Appearance
Execute Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<TableInfo> tables, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null, IList<DdlStatement> statements = null)
csharp
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)
csharp
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
Parameters
| Name | Description |
|---|---|
warnings | Optional list that receives SchemaChangeWarning notices from compare (for example indexes dropped because a column they reference is leaving). Does not block apply. |
Task<SchemaVersion> Execute(IDatabaseSession connection, IEnumerable<Type> types, TableInfoOptions tableOptions, SchemaReconciliationOptions options = null)
csharp
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)
csharp
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)
csharp
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
Parameters
| Name | Description |
|---|---|
warnings | Optional list that receives SchemaChangeWarning notices from compare (for example indexes dropped because a column they reference is leaving). Does not block apply. |