ValidationRules.EntityTypeKeyTypeCannotBeEdmPrimitiveType 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 Edm.PrimitiveType cannot be used as the type of a key property of an entity type.
public static readonly Microsoft.OData.Edm.Validation.ValidationRule<Microsoft.OData.Edm.IEdmEntityType> EntityTypeKeyTypeCannotBeEdmPrimitiveType;
staticval mutable EntityTypeKeyTypeCannotBeEdmPrimitiveType : Microsoft.OData.Edm.Validation.ValidationRule<Microsoft.OData.Edm.IEdmEntityType>
Public Shared ReadOnly EntityTypeKeyTypeCannotBeEdmPrimitiveType As ValidationRule(Of IEdmEntityType)