CollectionNavigationBuilder CollectionNavigationBuilder Class

Definition

Provides a simple API for configuring a relationship where configuration began on an end of the relationship with a collection that contains instances of another entity type.

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

public class CollectionNavigationBuilder : IInfrastructure<InternalRelationshipBuilder>
Public Class CollectionNavigationBuilder
    Implements IInfrastructure(Of InternalRelationshipBuilder)
Inheritance
System.ObjectSystem.Object
CollectionNavigationBuilderCollectionNavigationBuilder
Implements

Constructors

CollectionNavigationBuilder(EntityType, EntityType, PropertyInfo, InternalRelationshipBuilder) CollectionNavigationBuilder(EntityType, EntityType, PropertyInfo, 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.

CollectionNavigationBuilder(EntityType, EntityType, String, InternalRelationshipBuilder) CollectionNavigationBuilder(EntityType, EntityType, String, 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.

Properties

CollectionName CollectionName

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.

CollectionProperty CollectionProperty

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.

DeclaringEntityType DeclaringEntityType

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.

RelatedEntityType RelatedEntityType

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.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object
WithOne(String) WithOne(String)

Configures this as a one-to-many relationship.

WithOneBuilder(PropertyInfo) WithOneBuilder(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.

WithOneBuilder(String) WithOneBuilder(String)

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.

Explicit Interface Implementations

IInfrastructure<InternalRelationshipBuilder>.Instance Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder>.Instance

Gets the internal builder being used to configure the relationship.

This property is intended for use by extension methods that need to make use of services not directly exposed in the public API surface.

Extension Methods

Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder>() Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetInfrastructure(Of Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder)()