ReferenceCollectionBuilder.HasPrincipalKeyBuilder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HasPrincipalKeyBuilder(IReadOnlyList<PropertyInfo>) |
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
HasPrincipalKeyBuilder(IReadOnlyList<String>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HasPrincipalKeyBuilder(IReadOnlyList<MemberInfo>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HasPrincipalKeyBuilder(IReadOnlyList<PropertyInfo>)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> keyProperties);
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (keyProperties As IReadOnlyList(Of PropertyInfo)) As InternalRelationshipBuilder
Parameters
- keyProperties
- IReadOnlyList<PropertyInfo>
Returns
Applies to
HasPrincipalKeyBuilder(IReadOnlyList<String>)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<string> keyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<string> keyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<string> keyPropertyNames);
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasPrincipalKeyBuilder (keyPropertyNames As IReadOnlyList(Of String)) As InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (keyPropertyNames As IReadOnlyList(Of String)) As InternalForeignKeyBuilder
Parameters
- keyPropertyNames
- IReadOnlyList<String>
Returns
- Attributes
Applies to
HasPrincipalKeyBuilder(IReadOnlyList<MemberInfo>)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> keyProperties);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasPrincipalKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> keyMembers);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasPrincipalKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasPrincipalKeyBuilder (keyProperties As IReadOnlyList(Of MemberInfo)) As InternalRelationshipBuilder
Protected Overridable Function HasPrincipalKeyBuilder (keyMembers As IReadOnlyList(Of MemberInfo)) As InternalForeignKeyBuilder
Parameters
- keyPropertieskeyMembers
- IReadOnlyList<MemberInfo>
Returns
- Attributes
Applies to
Entity Framework