This topic has not yet been rated - Rate this topic

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
Public method WithOptional() Configures the relationship to be required:optional without a navigation property on the other side of the relationship.
Public method WithOptional(Expression<Func<TTargetEntityType, TEntityType>>) Configures the relationship to be required:optional with a navigation property on the other side of the relationship.
Top
Did you find this helpful?
(1500 characters remaining)