ReferenceReferenceBuilder.SetPrincipalEntityType Méthode

Définition

Surcharges

SetPrincipalEntityType(String)

Définit le type d’entité qui est le principal de la relation.

SetPrincipalEntityType(Type)

Définit le type d’entité qui est le principal de la relation.

SetPrincipalEntityType(String)

Définit le type d’entité qui est le principal de la relation.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (string principalEntityTypeName);
abstract member SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityTypeName As String) As InternalRelationshipBuilder

Paramètres

principalEntityTypeName
String

Nom du type d’entité principal.

Retours

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Générateur utilisé pour configurer cette relation.

S’applique à

SetPrincipalEntityType(Type)

Définit le type d’entité qui est le principal de la relation.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (Type principalEntityType);
abstract member SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityType As Type) As InternalRelationshipBuilder

Paramètres

principalEntityType
Type

Type d’entité principal.

Retours

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Générateur utilisé pour configurer cette relation.

S’applique à