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.

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

Property Value

Applies to