CollectionCollectionBuilder<TLeftEntity,TRightEntity> 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 many-to-many relationship.
public class CollectionCollectionBuilder<TLeftEntity,TRightEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionCollectionBuilder where TLeftEntity : class where TRightEntity : class
type CollectionCollectionBuilder<'LeftEntity, 'RightEntity (requires 'LeftEntity : null and 'RightEntity : null)> = class
inherit CollectionCollectionBuilder
Public Class CollectionCollectionBuilder(Of TLeftEntity, TRightEntity)
Inherits CollectionCollectionBuilder
Type Parameters
- TLeftEntity
One of the entity types in this relationship.
- TRightEntity
One of the entity types in this relationship.
- Inheritance
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<TLeftEntity,TRightEntity>(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. (Inherited from CollectionCollectionBuilder) |
LeftNavigation |
One of the navigations involved in the relationship. (Inherited from CollectionCollectionBuilder) |
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. (Inherited from CollectionCollectionBuilder) |
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. (Inherited from CollectionCollectionBuilder) |
RightNavigation |
One of the navigations involved in the relationship. (Inherited from CollectionCollectionBuilder) |
Methods
Applies to
Entity Framework