ValidationRules.EntityTypeKeyPropertyMustBelongToEntity Field

Validates that all properties in the key of an entity belong to that entity.

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

Syntax

'Declaration
Public Shared ReadOnly EntityTypeKeyPropertyMustBelongToEntity As ValidationRule(Of IEdmEntityType)
'Usage
Dim value As ValidationRule(Of IEdmEntityType)

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

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace