ManyToManyAssociationMappingConfiguration ManyToManyAssociationMappingConfiguration ManyToManyAssociationMappingConfiguration Class

Definition

Configures the table and column mapping of a many:many relationship. This configuration functionality is available via the Code First Fluent API, see DbModelBuilder.

public sealed class ManyToManyAssociationMappingConfiguration : System.Data.Entity.ModelConfiguration.Configuration.AssociationMappingConfiguration
type ManyToManyAssociationMappingConfiguration = class
    inherit AssociationMappingConfiguration
Public NotInheritable Class ManyToManyAssociationMappingConfiguration
Inherits AssociationMappingConfiguration
Inheritance
ManyToManyAssociationMappingConfigurationManyToManyAssociationMappingConfigurationManyToManyAssociationMappingConfiguration

Methods

Equals(ManyToManyAssociationMappingConfiguration) Equals(ManyToManyAssociationMappingConfiguration) Equals(ManyToManyAssociationMappingConfiguration)

Determines whether the specified object is equal to the current object.

Equals(Object) Equals(Object) Equals(Object)
GetHashCode() GetHashCode() GetHashCode()
GetType() GetType() GetType()
HasTableAnnotation(String, Object) HasTableAnnotation(String, Object) HasTableAnnotation(String, Object)

Sets an annotation in the model for the join table. The annotation value can later be used when processing the table such as when creating migrations.

MapLeftKey(String[]) MapLeftKey(String[]) MapLeftKey(String[])

Configures the name of the column(s) for the left foreign key. The left foreign key points to the parent entity of the navigation property specified in the HasMany call.

MapRightKey(String[]) MapRightKey(String[]) MapRightKey(String[])

Configures the name of the column(s) for the right foreign key. The right foreign key points to the parent entity of the the navigation property specified in the WithMany call.

ToString() ToString() ToString()
ToTable(String) ToTable(String) ToTable(String)

Configures the join table name for the relationship.

ToTable(String, String) ToTable(String, String) ToTable(String, String)

Configures the join table name and schema for the relationship.

Applies to