Share via


ReferenceReferenceBuilder.SetPrincipalEntityType Methode

Definition

Überlädt

SetPrincipalEntityType(String)

Legt den Entitätstyp fest, der der Prinzipal der Beziehung ist.

SetPrincipalEntityType(Type)

Legt den Entitätstyp fest, der der Prinzipal der Beziehung ist.

SetPrincipalEntityType(String)

Legt den Entitätstyp fest, der der Prinzipal der Beziehung ist.

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

Parameter

principalEntityTypeName
String

Der Name des Prinzipalentitätstyps.

Gibt zurück

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Der Generator, der zum Konfigurieren dieser Beziehung verwendet wird.

Gilt für:

SetPrincipalEntityType(Type)

Legt den Entitätstyp fest, der der Prinzipal der Beziehung ist.

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

Parameter

principalEntityType
Type

Der Prinzipalentitätstyp.

Gibt zurück

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Der Generator, der zum Konfigurieren dieser Beziehung verwendet wird.

Gilt für: