Describes a foreign key constraint from one ERD entity to another.

Members

MemberKindDescription
string NamePropertyGets or sets the name.
List<string> ColumnsPropertyLocal column names forming the FK (order matters for composites).
string ReferencedEntityPropertyReferenced entity/table name. Use Schema.Target for fully-qualified if needed.
List<string> ReferencedColumnsPropertyReferenced column names (order must match Columns).
string OnDeletePropertyOn delete behavior (e.g., NO ACTION, CASCADE, SET NULL). Free-form for now.
string OnUpdatePropertyOn update behavior (e.g., NO ACTION, CASCADE, SET NULL). Free-form for now.

Related