ForeignKeyDefinition class
Beep.Skia.Model — class
Describes a foreign key constraint from one ERD entity to another.
Members
| Member | Kind | Description |
|---|---|---|
string Name | Property | Gets or sets the name. |
List<string> Columns | Property | Local column names forming the FK (order matters for composites). |
string ReferencedEntity | Property | Referenced entity/table name. Use Schema.Target for fully-qualified if needed. |
List<string> ReferencedColumns | Property | Referenced column names (order must match Columns). |
string OnDelete | Property | On delete behavior (e.g., NO ACTION, CASCADE, SET NULL). Free-form for now. |
string OnUpdate | Property | On update behavior (e.g., NO ACTION, CASCADE, SET NULL). Free-form for now. |