ValidationRules.NavigationPropertyWithRecursiveContainmentTargetMustBeOptional Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates that if a navigation property has ContainsTarget = true and the target entity type is the same as the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. This depends on there being a targetting cycle. Because of the rule NavigationMappingMustBeBidirectional, we know that either this is always true, or there will be an error
public static readonly Microsoft.OData.Edm.Validation.ValidationRule<Microsoft.OData.Edm.IEdmNavigationProperty> NavigationPropertyWithRecursiveContainmentTargetMustBeOptional;
staticval mutable NavigationPropertyWithRecursiveContainmentTargetMustBeOptional : Microsoft.OData.Edm.Validation.ValidationRule<Microsoft.OData.Edm.IEdmNavigationProperty>
Public Shared ReadOnly NavigationPropertyWithRecursiveContainmentTargetMustBeOptional As ValidationRule(Of IEdmNavigationProperty)