Skip to content

CheckConstraintDto ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Data transfer object representing a check constraint.

public

Contents ​

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

Constructors ​

CheckConstraintDto ​

csharp
CheckConstraintDto()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

ConstraintName ​

Gets or sets the constraint name. If not provided, a default name will be generated.

Type: string?

ColumnName ​

Gets or sets the column name this check constraint applies to. Optional - if not specified, the constraint applies to the table level.

Type: string?

CheckExpression ​

Gets or sets the check constraint expression.

Type: string?