Jaa


ValidationRules.NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne 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 source of navigation is Zero-Or-One. 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> NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne;
 staticval mutable NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne : Microsoft.OData.Edm.Validation.ValidationRule<Microsoft.OData.Edm.IEdmNavigationProperty>
Public Shared ReadOnly NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne As ValidationRule(Of IEdmNavigationProperty) 

Field Value

Applies to