DmForeignKeyActionExtensions ​
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary ​
Provides extension methods for MJCZone.DapperMatic.Models.DmForeignKeyAction
.
static
public
Contents ​
Methods (6)
Methods ​
Method | Summary |
---|---|
ToSql | Converts the foreign key action to its SQL representation. |
ToForeignKeyAction | Converts 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 ​
- foreignKeyAction (DmForeignKeyAction) - The foreign key action.
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()