Skip to content

ForeignKeyConstraintDto

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Data transfer object representing a foreign key constraint.

public

Contents

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

Constructors

ForeignKeyConstraintDto

csharp
ForeignKeyConstraintDto()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

ConstraintName

Gets or sets the constraint name.

Type: string?

ColumnNames

Gets or sets the column names in this table.

Type: List<string>

ReferencedTableName

Gets or sets the referenced table name.

Type: string?

ReferencedColumnNames

Gets or sets the referenced column names.

Type: List<string>

OnDelete

Gets or sets the action to take on update. Options: "NoAction", "Cascade", "SetNull", "SetDefault", "Restrict"

Type: string?

OnUpdate

Gets or sets the action to take on delete. Options: "NoAction", "Cascade", "SetNull", "SetDefault", "Restrict"

Type: string?