Skip to content

DmMigrationPlan ​

Namespace: MJCZone.DapperMatic.Migrations

Assembly: MJCZone.DapperMatic

Summary ​

What a DmMigrator would do, worked out from the ledger and the models alone.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (4)

Constructors ​

DmMigrationPlan ​

csharp
DmMigrationPlan()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

LedgerExists ​

Gets a value indicating whether the ledger table exists. Without it every table is NotRecorded.

Type: bool

Tables ​

Gets every registered table, in the order registered.

Type: IReadOnlyList<DmTableState>

ChangedTables ​

Gets the tables that would be reconciled.

Type: IReadOnlyList<DmTableState>

HasChanges ​

Gets a value indicating whether running the migrator would do anything.

Type: bool