Export (0) Print
Expand All

ManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>.WithMany Method

Entity Framework 5.0

Configures the relationship to be many:many.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WithMany() Configures the relationship to be many:many without a navigation property on the other side of the relationship.
Public method WithMany(Expression<Func<TTargetEntityType, ICollection<TEntityType>>>) Configures the relationship to be many:many with a navigation property on the other side of the relationship.
Top
Show:
© 2014 Microsoft