ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType> 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.
Configures a many:many relationship. This configuration functionality is available via the Code First Fluent API, see DbModelBuilder.
public class ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType> where TEntityType : class where TTargetEntityType : class
type ManyToManyNavigationPropertyConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)> = class
Public Class ManyToManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
Type Parameters
- TEntityType
The type of the parent entity of the navigation property specified in the HasMany call.
- TTargetEntityType
The type of the parent entity of the navigation property specified in the WithMany call.
- Inheritance
-
ManyToManyNavigationPropertyConfiguration<TEntityType,TTargetEntityType>
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
GetType() |
Gets the Type of the current instance. |
Map(Action<ManyToManyAssociationMappingConfiguration>) |
Configures the foreign key column(s) and table used to store the relationship. |
MapToStoredProcedures() |
Configures stored procedures to be used for modifying this relationship. The default conventions for procedure and parameter names will be used. |
MapToStoredProcedures(Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType,TTargetEntityType>>) |
Configures stored procedures to be used for modifying this relationship. |
ToString() | Returns a string that represents the current object. |
Applies to
Entity Framework