Condividi tramite


RuntimeForeignKey.IReadOnlyForeignKey.PrincipalEntityType Proprietà

Definizione

Ottiene il tipo di entità principale destinato a questa relazione. Questo può essere diverso dal tipo PrincipalKey definito in quando la relazione è destinata a un tipo derivato in una gerarchia di ereditarietà ( poiché la chiave è definita sul tipo di base della gerarchia).

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

Valore della proprietà

Implementazioni

Attributi

Si applica a