ValidationRules.NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne Field

Validates that if a navigation property has ContainsTarget = true and the target entity type is defferent than the declaring type of the property, then the multiplicity of the source of navigation is One.

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Shared ReadOnly NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne As ValidationRule(Of IEdmNavigationProperty)
'Usage
Dim value As ValidationRule(Of IEdmNavigationProperty)

value = ValidationRules.NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
public static readonly ValidationRule<IEdmNavigationProperty> NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
public:
static initonly ValidationRule<IEdmNavigationProperty^>^ NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
static val NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne: ValidationRule<IEdmNavigationProperty>
public static final var NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne : ValidationRule<IEdmNavigationProperty>

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace