Udostępnij za pośrednictwem


ReferenceReferenceBuilder.HasPrincipalKeyBuilder Metoda

Definicja

Przeciążenia

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<PropertyInfo>)

Ten interfejs API obsługuje infrastrukturę platformy Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<String>)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę platformy Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można je zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<MemberInfo>)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę platformy Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można je zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<PropertyInfo>)

Ten interfejs API obsługuje infrastrukturę platformy Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> foreignKeyProperties);
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (principalEntityType As EntityType, principalEntityTypeName As String, foreignKeyProperties As IReadOnlyList(Of PropertyInfo)) As InternalRelationshipBuilder

Parametry

principalEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
principalEntityTypeName
String
foreignKeyProperties
IReadOnlyList<PropertyInfo>

Zwraca

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Dotyczy

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<String>)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę platformy Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można je zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasPrincipalKeyBuilder (principalEntityType As EntityType, principalEntityTypeName As String, foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (principalEntityType As EntityType, principalEntityTypeName As String, foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalForeignKeyBuilder

Parametry

principalEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
principalEntityTypeName
String
foreignKeyPropertyNames
IReadOnlyList<String>

Zwraca

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Atrybuty

Dotyczy

HasPrincipalKeyBuilder(EntityType, String, IReadOnlyList<MemberInfo>)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę platformy Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można je zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyProperties);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasPrincipalKeyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, string principalEntityTypeName, System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyMembers);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasPrincipalKeyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasPrincipalKeyBuilder (principalEntityType As EntityType, principalEntityTypeName As String, foreignKeyProperties As IReadOnlyList(Of MemberInfo)) As InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (principalEntityType As EntityType, principalEntityTypeName As String, foreignKeyMembers As IReadOnlyList(Of MemberInfo)) As InternalForeignKeyBuilder

Parametry

principalEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
principalEntityTypeName
String
foreignKeyPropertiesforeignKeyMembers
IReadOnlyList<MemberInfo>

Zwraca

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Atrybuty

Dotyczy