RuntimeForeignKey.IReadOnlyForeignKey.IsRequired Property

Definition

Gets a value indicating whether the principal entity is required. If true, the dependent entity must always be assigned to a valid principal entity.

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

Property Value

Implements

Attributes

Applies to