DmUniqueConstraint ​
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary ​
Represents a unique constraint on a table.
Inheritance ​
Base Class: DmConstraint
public
Contents ​
Constructors (2) | Methods (4) | Properties (5)
Constructors ​
DmUniqueConstraint ​
Initializes a new instance of the MJCZone.DapperMatic.Models.DmUniqueConstraint
class. Used for deserialization.
csharp
DmUniqueConstraint()
DmUniqueConstraint ​
Initializes a new instance of the MJCZone.DapperMatic.Models.DmUniqueConstraint
class.
csharp
DmUniqueConstraint(string schemaName, string tableName, string constraintName, DmOrderedColumn[] columns)
Parameters ​
- schemaName (string) - The schema name.
- tableName (string) - The table name.
- constraintName (string) - The constraint name.
- columns (DmOrderedColumn[]) - The columns.
Methods ​
GetType ​
csharp
void GetType()
ToString ​
csharp
void ToString()
Equals ​
csharp
void Equals()
GetHashCode ​
csharp
void GetHashCode()
Properties ​
SchemaName ​
Gets or sets the schema name.
Type: string?
TableName ​
Gets or sets the table name.
Type: string
Columns ​
Gets or sets the columns.
Type: List<DmOrderedColumn>
ConstraintType ​
Gets the type of the constraint.
Type: DmConstraintType
ConstraintName ​
Gets or sets the name of the constraint.
Type: object