RequiredNavigationPropertyConfiguration<TEntityType, TTargetEntityType>.WithOptional Method
Configures the relationship to be required:optional 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 | |
|---|---|---|
|
WithOptional() | Configures the relationship to be required:optional without a navigation property on the other side of the relationship. |
|
WithOptional(Expression<Func<TTargetEntityType, TEntityType>>) | Configures the relationship to be required:optional with a navigation property on the other side of the relationship. |