CollectionCollectionBuilder Class
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.
Provides a simple API for configuring a one-to-many relationship.
public class CollectionCollectionBuilder
type CollectionCollectionBuilder = class
Public Class CollectionCollectionBuilder
- Inheritance
-
CollectionCollectionBuilder
- Derived
Remarks
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.
See Modeling entity types and relationships for more information and examples.
Constructors
CollectionCollectionBuilder(IMutableEntityType, IMutableEntityType, IMutableSkipNavigation, IMutableSkipNavigation) |
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. |
Properties
LeftEntityType |
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. |
LeftNavigation |
One of the navigations involved in the relationship. |
ModelBuilder |
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. |
RightEntityType |
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. |
RightNavigation |
One of the navigations involved in the relationship. |
Methods
Using(IMutableForeignKey, 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. |
UsingEntity(Action<EntityTypeBuilder>) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Action<EntityTypeBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(String, Action<EntityTypeBuilder>) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(String, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Action<EntityTypeBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(String, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(String, Type, Action<EntityTypeBuilder>) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(String, Type, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Action<EntityTypeBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(String, Type, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(String, Type, Func<IMutableEntityType,IMutableForeignKey>, Func<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. |
UsingEntity(String, Type) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(String) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(Type, Action<EntityTypeBuilder>) |
Configures the join entity type implementing the many-to-many relationship. |
UsingEntity(Type, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Action<EntityTypeBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(Type, Func<EntityTypeBuilder,ReferenceCollectionBuilder>, Func<EntityTypeBuilder,ReferenceCollectionBuilder>) |
Configures the relationships to the entity types participating in the many-to-many relationship. |
UsingEntity(Type) |
Configures the join entity type implementing the many-to-many relationship. |
Applies to
Entity Framework