共用方式為


RuntimeForeignKey.IReadOnlyForeignKey.IsRequiredDependent 屬性

定義

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

bool Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey.IsRequiredDependent { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey.IsRequiredDependent : bool
 ReadOnly Property IsRequiredDependent As Boolean Implements IReadOnlyForeignKey.IsRequiredDependent

屬性值

實作

屬性

適用於