RuntimeForeignKey.IReadOnlyForeignKey.IsRequired 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出是否需要主體實體。
如果 true
為 ,則相依實體必須一律指派給有效的主體實體。
bool Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey.IsRequired { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey.IsRequired : bool
ReadOnly Property IsRequired As Boolean Implements IReadOnlyForeignKey.IsRequired
屬性值
實作
- 屬性