Appearance
IForeignKey Interface
Definition
Interface for maintaining a FOREIGN KEY constraint with another table
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Properties
| Name | Description |
|---|---|
Column | Column name holding the constrained value |
OnDelete | Action when a referenced row is deleted |
OnUpdate | Action when a referenced key is updated |
ReferenceColumn | Column on the foreign table |
TableName | Name of the referenced table |
Methods
| Name | Description |
|---|---|
string GetKeyName() | Returns the Name value, or generates a default FOREIGN KEY name using a pattern |
bool IsValidDefinition() | Verifies the validity of the request FOREIGN KEY based on values |