共用方式為


DatabaseTable.ForeignKeys 屬性

定義

資料表上定義的外鍵條件約束清單。

public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseForeignKey> ForeignKeys { get; }
member this.ForeignKeys : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseForeignKey>
Public Overridable ReadOnly Property ForeignKeys As IList(Of DatabaseForeignKey)

屬性值

適用於