Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ManyToManyAssociationMappingConfiguration Class

Entity Framework 5.0

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

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.AssociationMappingConfiguration
    System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration

Namespace:  System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)
public sealed class ManyToManyAssociationMappingConfiguration : AssociationMappingConfiguration

The ManyToManyAssociationMappingConfiguration type exposes the following members.

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).)
Public methodEquals(ManyToManyAssociationMappingConfiguration)Determines whether the specified [System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration.IndependentAssociationMappingConfiguration] object is equal to the current object.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current instance. This method is hidden from IntelliSense.
Public methodMapLeftKey Configures the name of the column(s) for the left foreign key. The left foreign key represents the navigation property specified in the call to HasMany on EntityTypeConfiguration<TEntityType>.
Public methodMapRightKey Configures the name of the column(s) for the right foreign key. The right foreign key represents the navigation property specified in the WithMany call.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString().)
Public methodToTable(String) Configures the join table name for the relationship.
Public methodToTable(String, String) Configures the join table name and schema for the relationship.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.