ValidationRules.EntitySetCanOnlyBeContainedByASingleNavigationProperty Field

Validates that an entity set can only have a single navigation property targeting it that has Contains set to true.

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

Syntax

'Declaration
Public Shared ReadOnly EntitySetCanOnlyBeContainedByASingleNavigationProperty As ValidationRule(Of IEdmEntitySet)
'Usage
Dim value As ValidationRule(Of IEdmEntitySet)

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

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace