Skip to content

DmForeignKeyActionExtensions ​

Namespace: MJCZone.DapperMatic.Models

Assembly: MJCZone.DapperMatic

Summary ​

Provides extension methods for MJCZone.DapperMatic.Models.DmForeignKeyAction.

static public

Contents ​

Methods (6)

Methods ​

MethodSummary
ToSqlConverts the foreign key action to its SQL representation.
ToForeignKeyActionConverts a string to its corresponding MJCZone.DapperMatic.Models.DmForeignKeyAction....
GetType
ToString
Equals
GetHashCode

ToSql ​

Converts the foreign key action to its SQL representation.

csharp
string ToSql(DmForeignKeyAction foreignKeyAction)

Parameters ​

Returns ​

Type: string

The SQL representation of the foreign key action.

ToForeignKeyAction ​

Converts a string to its corresponding MJCZone.DapperMatic.Models.DmForeignKeyAction.

csharp
DmForeignKeyAction ToForeignKeyAction(string behavior)

Parameters ​

  • behavior (string) - The string representation of the foreign key action.

Returns ​

Type: DmForeignKeyAction

The corresponding .

GetType ​

csharp
void GetType()

ToString ​

csharp
void ToString()

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void GetHashCode()