Class FlatForeignKey
A single-column foreign key of a flat table.
public sealed class FlatForeignKey
Inheritance
Properties
OnDelete
What happens to the referencing row when the referenced one is deleted.
public FlatDeleteRule OnDelete { get; init; }
TargetPropsType
For a RedbObject<T> reference: the Props type T the target table belongs to.
public Type? TargetPropsType { get; init; }
TargetTable
Referenced table. It may be created later than the referencing one, or be absent when its Props type is not part of the model.
public string TargetTable { get; init; }