Skip to content

PrimaryKeyConstraintDto

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Data transfer object representing a primary key constraint.

public

Contents

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

Constructors

PrimaryKeyConstraintDto

csharp
PrimaryKeyConstraintDto()

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 primary key. Column names can include sort order (e.g., "ColumnName ASC" or "ColumnName DESC").

Type: List<string>