Share via


ReferenceCollectionBuilder Constructors

Definition

Overloads

ReferenceCollectionBuilder(InternalRelationshipBuilder)

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.

ReferenceCollectionBuilder(IMutableEntityType, IMutableEntityType, IMutableForeignKey)

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.

ReferenceCollectionBuilder(EntityType, EntityType, InternalRelationshipBuilder)

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.

ReferenceCollectionBuilder(InternalForeignKeyBuilder, ReferenceCollectionBuilder, Boolean, Boolean, Boolean)

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.

ReferenceCollectionBuilder(InternalRelationshipBuilder, ReferenceCollectionBuilder, Boolean, Boolean, Boolean)

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.

ReferenceCollectionBuilder(InternalRelationshipBuilder)

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.

public ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
Public Sub New (builder As InternalRelationshipBuilder)

Parameters

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Applies to

ReferenceCollectionBuilder(IMutableEntityType, IMutableEntityType, IMutableForeignKey)

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]
public ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType principalEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType dependentEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
Public Sub New (principalEntityType As IMutableEntityType, dependentEntityType As IMutableEntityType, foreignKey As IMutableForeignKey)

Parameters

principalEntityType
IMutableEntityType
dependentEntityType
IMutableEntityType
foreignKey
IMutableForeignKey
Attributes

Applies to

ReferenceCollectionBuilder(EntityType, EntityType, InternalRelationshipBuilder)

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.

public ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
Public Sub New (principalEntityType As EntityType, dependentEntityType As EntityType, builder As InternalRelationshipBuilder)

Parameters

principalEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
dependentEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Applies to

ReferenceCollectionBuilder(InternalForeignKeyBuilder, ReferenceCollectionBuilder, Boolean, Boolean, Boolean)

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 ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
Protected Sub New (builder As InternalForeignKeyBuilder, oldBuilder As ReferenceCollectionBuilder, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)

Parameters

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
foreignKeySet
Boolean
principalKeySet
Boolean
requiredSet
Boolean
Attributes

Applies to

ReferenceCollectionBuilder(InternalRelationshipBuilder, ReferenceCollectionBuilder, Boolean, Boolean, Boolean)

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 ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected ReferenceCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder
Protected Sub New (builder As InternalRelationshipBuilder, oldBuilder As ReferenceCollectionBuilder, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)

Parameters

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
foreignKeySet
Boolean
principalKeySet
Boolean
requiredSet
Boolean
Attributes

Applies to