DmDefaultConstraint ​
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary ​
Represents a default constraint on a table.
Inheritance ​
Base Class: DmConstraint
public
Contents ​
Constructors (2) | Methods (4) | Properties (6)
Constructors ​
DmDefaultConstraint ​
Initializes a new instance of the MJCZone.DapperMatic.Models.DmDefaultConstraint
class. Used for deserialization.
DmDefaultConstraint()
DmDefaultConstraint ​
Initializes a new instance of the MJCZone.DapperMatic.Models.DmDefaultConstraint
class.
DmDefaultConstraint(string schemaName, string tableName, string columnName, string constraintName, string expression)
Parameters ​
- schemaName (string) - The schema name.
- tableName (string) - The table name.
- columnName (string) - The column name.
- constraintName (string) - The constraint name.
- expression (string) - The expression.
Methods ​
ToString ​
Returns a string representation of the constraint.
string ToString()
Returns ​
Type: string
A string representation of the constraint.
GetType ​
void GetType()
Equals ​
void Equals()
GetHashCode ​
void GetHashCode()
Properties ​
SchemaName ​
Gets or sets the schema name.
Type: string?
TableName ​
Gets or sets the table name.
Type: string
ColumnName ​
Gets or sets the column name.
Type: string
Expression ​
Gets or sets the expression.
Type: string
ConstraintType ​
Gets the constraint type.
Type: DmConstraintType
ConstraintName ​
Gets or sets the name of the constraint.
Type: object