語言

IForeignKey.IsRequired 屬性

定義

會獲得一個值,表示是否需要主要實體。 若 true,則依賴實體必須始終指派給有效的主要實體。

public bool IsRequired { get; }
member this.IsRequired : bool
Public ReadOnly Property IsRequired As Boolean

屬性值

適用於