RequiredNavigationPropertyConfiguration<TEntityType, TTargetEntityType>.WithMany Method
Configures the relationship to be required:many without a navigation property on the other side of the relationship.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WithMany() | Configures the relationship to be required:many without a navigation property on the other side of the relationship. |
|
WithMany(Expression<Func<TTargetEntityType, ICollection<TEntityType>>>) | Configures the relationship to be required:many with a navigation property on the other side of the relationship. |