Jaa


ValidationRules.NavigationPropertyWithRecursiveContainmentTargetMustBeOptional Field

Definition

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) 

Field Value

Applies to