Skip to content

DmTableState ​

Namespace: MJCZone.DapperMatic.Migrations

Assembly: MJCZone.DapperMatic

Summary ​

A table's model, its fingerprint, and how that compares with what the ledger recorded.

sealed public

Contents ​

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

Constructors ​

DmTableState ​

csharp
DmTableState()

Methods ​

ToString ​

Returns the table key and status.

csharp
string ToString()

Returns ​

Type: string

The table key and status.

GetType ​

csharp
GetType()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Model ​

Gets the table's model.

Type: DmTable

TableKey ​

Gets the table's key in the ledger: its schema-qualified name, with the schema resolved, in lowercase.

Type: string

Fingerprint ​

Gets the fingerprint of the model. See DmTableFingerprint.

Type: string

RecordedFingerprint ​

Gets the fingerprint the ledger recorded for the table, or null when nothing is recorded.

Type: string?

Status ​

Gets how the model compares with what was recorded.

Type: DmTableStatus

SupersededBy ​

Gets what superseded the model, when Status is Superseded.

Type: string?

NeedsReconcile ​

Gets a value indicating whether the table is reconciled.

Type: bool