ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType> Class

 

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

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>

public class ManyToManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>
where TEntityType : class
where TTargetEntityType : class

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.

System_CAPS_pubmethodMap(Action<ManyToManyAssociationMappingConfiguration>)

Configures the foreign key column(s) and table used to store the relationship.

System_CAPS_pubmethodMapToStoredProcedures()

Configures stored procedures to be used for modifying this relationship. The default conventions for procedure and parameter names will be used.

System_CAPS_pubmethodMapToStoredProcedures(Action<ManyToManyModificationStoredProceduresConfiguration<TEntityType, TTargetEntityType>>)

Configures stored procedures to be used for modifying this relationship.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.