ValidationRules.NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne 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 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)