IReadOnlyForeignKey.IsRequired 屬性

定義

取得值,指出是否需要主體實體。 如果 true 為 ,則相依實體必須一律指派給有效的主體實體。

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

屬性值

適用於