Share via


IMutableForeignKey.IsRequired Property

Definition

Sets 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; set; }
member this.IsRequired : bool with get, set
Public Property IsRequired As Boolean

Property Value

Applies to