Interface IForeignKeySchemaConstraint
- Namespace
- OrpheusInterfaces.Schema
- Assembly
- OrpheusInterfaces.dll
A foreign key constraint.
public interface IForeignKeySchemaConstraint : ISchemaConstraint
- Inherited Members
Properties
ForeignKeyFields
Foreign key fields. Applicable only when key is of type ktForeign.
List<string> ForeignKeyFields { get; set; }
Property Value
ForeignKeySchemaObject
Referenced table name. Applicable only when key is of type ktForeign.
string ForeignKeySchemaObject { get; set; }
Property Value
- string
Constraint's key
OnDeleteCascade
Cascade on delete.
bool OnDeleteCascade { get; set; }
Property Value
- bool
True if cascade on delete is on
OnUpdateCascade
Cascade on update.
bool OnUpdateCascade { get; set; }
Property Value
- bool
True if cascade on update is on