Condividi tramite


RuntimeForeignKey.IReadOnlyForeignKey.IsRequired Proprietà

Definizione

Ottiene un valore che indica se è necessaria l'entità principale. Se true, l'entità dipendente deve sempre essere assegnata a un'entità principale valida.

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

Valore della proprietà

Implementazioni

Attributi

Si applica a