DmSchemaAddition
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary
Describes a single schema element that reconciliation would create, or did create.
sealed public
Contents
Constructors (1) | Methods (4) | Properties (4)
Constructors
DmSchemaAddition
Initializes a new instance of the DmSchemaAddition class.
DmSchemaAddition(DmSchemaElementType elementType, string name, string note)Parameters
- elementType (DmSchemaElementType) - The kind of element.
- name (string) - The name of the element.
- note (string) - An optional explanation, used when the element could not be created.
Methods
ToString
Returns a human-readable description of the addition.
string ToString()Returns
Type: string
A string naming the element kind and the element.
GetType
GetType()Equals
Equals()GetHashCode
GetHashCode()Properties
ElementType
Gets the kind of element.
Type: DmSchemaElementType
Name
Gets the name of the element.
Type: string
Note
Gets an optional explanation, set when the element could not be created.
Type: string?
Unsupported
Gets a value indicating whether the element is blocked because the database server cannot hold it at all, as MySQL before 8.0.16 cannot hold a check constraint: no run will create it, so it does not keep a migration from recording the table.
Type: bool