Skip to content

DmMigrationException ​

Namespace: MJCZone.DapperMatic.Migrations

Assembly: MJCZone.DapperMatic

Summary ​

Thrown when ThrowOnBlocked is set and a run left tables pending. The work the run did is saved; Result says what it was.

Inheritance ​

Base Class: Exception

sealed public

Contents ​

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

Constructors ​

DmMigrationException ​

Initializes a new instance of the DmMigrationException class.

csharp
DmMigrationException()

DmMigrationException ​

Initializes a new instance of the DmMigrationException class.

csharp
DmMigrationException(string message)

Parameters ​

  • message (string) - The message.

DmMigrationException ​

Initializes a new instance of the DmMigrationException class.

csharp
DmMigrationException(string message, Exception innerException)

Parameters ​

  • message (string) - The message.
  • innerException (Exception) - The exception that caused this one.

DmMigrationException ​

Initializes a new instance of the DmMigrationException class.

csharp
DmMigrationException(string message, DmMigrationResult result)

Parameters ​

Methods ​

MethodSummary
GetBaseException
GetObjectData
ToString
GetType
GetType
Equals
GetHashCode

GetBaseException ​

csharp
GetBaseException()

GetObjectData ​

csharp
GetObjectData()

ToString ​

csharp
ToString()

GetType ​

csharp
GetType()

GetType ​

csharp
GetType()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Result ​

Gets what the run did, or null.

Type: DmMigrationResult?

TargetSite ​

Type: object

Message ​

Type: object

Data ​

Type: object

InnerException ​

Type: object

Type: object

Source ​

Type: object

HResult ​

Type: object

StackTrace ​

Type: object