語言

IMutableForeignKey.IsRequired 屬性

定義

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

public bool IsRequired { get; set; }
member this.IsRequired : bool with get, set
Public Property IsRequired As Boolean

屬性值

適用於