Skip to content

DmPrimaryKeyConstraintAttribute ​

Namespace: MJCZone.DapperMatic.DataAnnotations

Assembly: MJCZone.DapperMatic

Summary ​

Attribute to define a primary key constraint on a table.

Inheritance ​

Base Class: Attribute

sealed public

Contents ​

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

Constructors ​

DmPrimaryKeyConstraintAttribute ​

csharp
DmPrimaryKeyConstraintAttribute()

Methods ​

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void GetHashCode()

Match ​

csharp
void Match()

IsDefaultAttribute ​

csharp
void IsDefaultAttribute()

GetType ​

csharp
void GetType()

ToString ​

csharp
void ToString()

Properties ​

ConstraintName ​

Gets the name of the constraint.

Type: string?

Columns ​

Gets the columns that form the primary key constraint.

Type: string[]?

TypeId ​

Type: object