Setting the file. One moment.
Skill 151 · Efcore D2 Db Diagram
Subchapter 151.5
references/relationship-rules.mdMarkdown1010 BView on GitHub
Detected from:
HasOne(...).WithMany(...)Render dependent to principal:
Orders.ClientId -> Clients.Id: "N:1"Detected from:
HasOne(...).WithOne(...)Render dependent to principal:
ClientProfiles.ClientId -> Clients.Id: "1:1"Detected from:
UsingEntityRender the join table explicitly by default.
Detected from:
OwnsOneOwnsMany[Owned]Inline by default unless table splitting or separate table mapping is detected.
A relationship is optional when:
IsRequired(false) is configured.Use dashed line for optional relationships.