Skip to content

UniqueConstraintDto ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Data transfer object representing a unique constraint.

public

Contents ​

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

Constructors ​

UniqueConstraintDto ​

csharp
UniqueConstraintDto()

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?

ColumnNames ​

Gets or sets the columns that make up the unique constraint. Column names can include sort order (e.g., "ColumnName ASC" or "ColumnName DESC").

Type: List<string>