ReferenceCollectionBuilder.HasForeignKeyBuilder Method

Definition

Overloads

HasForeignKeyBuilder(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.

HasForeignKeyBuilder(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.

HasForeignKeyBuilder(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.

HasForeignKeyBuilder(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 HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyProperties);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> foreignKeyMembers);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasForeignKeyBuilder (foreignKeyProperties As IReadOnlyList(Of MemberInfo)) As InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (foreignKeyMembers As IReadOnlyList(Of MemberInfo)) As InternalForeignKeyBuilder

Parameters

foreignKeyPropertiesforeignKeyMembers
IReadOnlyList<MemberInfo>

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Attributes

Applies to

HasForeignKeyBuilder(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 HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<string> foreignKeyPropertyNames);
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function HasForeignKeyBuilder (foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (foreignKeyPropertyNames As IReadOnlyList(Of String)) As InternalForeignKeyBuilder

Parameters

foreignKeyPropertyNames
IReadOnlyList<String>

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Attributes

Applies to

HasForeignKeyBuilder(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 HasForeignKeyBuilder (System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> foreignKeyProperties);
abstract member HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasForeignKeyBuilder : System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasForeignKeyBuilder (foreignKeyProperties As IReadOnlyList(Of PropertyInfo)) As InternalRelationshipBuilder

Parameters

foreignKeyProperties
IReadOnlyList<PropertyInfo>

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Applies to