Skip to content

DmMigrationEvent ​

Namespace: MJCZone.DapperMatic.Migrations

Assembly: MJCZone.DapperMatic

Summary ​

Something a DmMigrator did, reported through Log.

sealed public

Contents ​

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

Constructors ​

DmMigrationEvent ​

Initializes a new instance of the DmMigrationEvent class.

csharp
DmMigrationEvent(
    DmMigrationEventKind kind,
    DmMigrationEventLevel level,
    string message,
    string tableKey)

Parameters ​

Methods ​

ToString ​

Returns the message.

csharp
string ToString()

Returns ​

Type: string

The message.

GetType ​

csharp
GetType()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Kind ​

Gets what happened.

Type: DmMigrationEventKind

Level ​

Gets how much it matters.

Type: DmMigrationEventLevel

Message ​

Gets a description for a log.

Type: string

TableKey ​

Gets the ledger key of the table the event concerns, or null.

Type: string?