EdmErrorCode Enumeration
Specifies an enumeration of Edm validation error codes.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Enumeration EdmErrorCode
'Usage
Dim instance As EdmErrorCode
public enum EdmErrorCode
public enum class EdmErrorCode
type EdmErrorCode
public enum EdmErrorCode
Members
Member name | Description | |
---|---|---|
AllNavigationPropertiesMustBeMapped | An entity set must have a mapping for all of the navigation properties in its element type. | |
AlreadyDefined | The entity set is already defined. | |
AssociationSetEndRoleMustBelongToSetElementType | The association set end role must belong to set element type. | |
BadAmbiguousElementBinding | Bad ambiguous element binding. | |
BadCyclicComplex | Bad cyclic complex. | |
BadCyclicEntity | Bad cyclic entity. | |
BadCyclicEntityContainer | Bad cyclic entity container. | |
BadNavigationProperty | Bad navigation property. | |
BadNonComputableAssociationEnd | Bad non computable association end. | |
BadPrincipalPropertiesInReferentialConstraint | The principal properties of a referential constraint must match the key of the referential constraint. | |
BadProperty | Bad property. | |
BadUnresolvedComplexType | No complex type with that name exists. | |
BadUnresolvedEntityContainer | The entity container could not be resolved. | |
BadUnresolvedEntitySet | The entity set could not be resolved. | |
BadUnresolvedEntityType | The entity type could not be resolved. | |
BadUnresolvedEnumMember | Could not find an enum member with that name. | |
BadUnresolvedEnumType | Enum type could not be resolved. | |
BadUnresolvedFunction | Could not find a function with this name. | |
BadUnresolvedLabeledElement | Could not find a LabeledElement with that name. | |
BadUnresolvedParameter | Could not find a Parameter with that name. | |
BadUnresolvedPrimitiveType | The primitive type could not be resolved. | |
BadUnresolvedProperty | The property could not be resolved. | |
BadUnresolvedTarget | Could not find a target with this name. | |
BadUnresolvedTerm | Could not find a term with this name. | |
BadUnresolvedType | The type could not be resolved. | |
BinaryConstantLengthOutOfRange | The length of the binary constant is too large for the asserted type. | |
BinaryValueCannotHaveEmptyValue | A binary value must have content. | |
BindableFunctionImportMustHaveParameters | The bindable function import must have parameters. | |
CannotAssertNullableTypeAsNonNullableType | A nullable type is not valid if a non-nullable type is required. | |
CannotAssertPrimitiveExpressionAsNonPrimitiveType | The expression is a primitive constant, and cannot be valid for an non-primitive type. | |
CannotInferEntitySetWithMultipleSetsPerType | AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. | |
CollectionExpressionNotValidForNonCollectionType | A collection expression is not valid for a non-collection type. | |
ComplexTypeMustHaveComplexBaseType | The complex type must have complex base type. | |
ComplexTypeMustHaveProperties | Complex types must contain at least one property. | |
ComposableFunctionImportCannotBeSideEffecting | A composable function import cannot be side-effecting. | |
ComposableFunctionImportMustHaveReturnType | A composable function import must have return type. | |
ConcurrencyRedefinedOnSubtypeOfEntitySetType | A concurrency redefined on subtype of the entity set type. | |
ConstructibleEntitySetTypeInvalidFromEntityTypeRemoval | The constructible entity set type is invalid from entity type removal. | |
ContainerElementContainerNameIncorrect | The container name of a container element must be the full name of the container entity container. | |
DeclaringTypeMustBeCorrect | Declaring type must be correct. | |
DependentPropertiesMustBelongToDependentEntity | Dependent properties must belong to dependent entity. | |
DuplicateAlias | Is it invalid to have multiple using statements with the same alias in a single schema element. | |
DuplicateAnnotation | Target has multiple annotations with the same term and same qualifier. | |
DuplicateDependentProperty | Duplicate dependent property. | |
DuplicateDirectValueAnnotationFullName | A direct value annotation with the same name and namespace already exists. | |
DuplicateEntityContainerMemberName | Duplicate name of the entity container member. | |
DuplicateEntityContainerName | Model has multiple entity containers with the same name. | |
DuplicateNavigationPropertyMapping | There can only be a single mapping from a given EntitySet with a particular navigation property. | |
DuplicatePropertySpecifiedInEntityKey | Duplicate property specified in entity key. | |
EmptyFile | The file is empty. | |
EndWithManyMultiplicityCannotHaveOperationsSpecified | End with many multiplicity cannot have operations specified. | |
EntityContainerElementMustNotHaveKindOfNone | An entity container element without other errors must not have kind of none. | |
EntityKeyMustBeScalar | The entity key must be scalar. | |
EntityKeyMustNotBeBinary | The entity key must not be binary. | |
EntityMustHaveEntityBaseType | The entity must have entity base type. | |
EntitySetCanOnlyBeContainedByASingleNavigationProperty | There can only be a single navigation property mapping with containment that targets a particular entity set. | |
EntitySetCanOnlyHaveSingleNavigationPropertyWithContainment | An entity set can only have one navigation property with containment. | |
EntitySetNavigationMappingMustBeBidirectional | If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. | |
EntitySetNavigationPropertyMappingMustPointToValidTargetForProperty | The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. | |
EntitySetRecursiveNavigationPropertyMappingsMustPointBackToSourceEntitySet | If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. | |
EntitySetTypeHasNoKeys | The entity set type has no keys. | |
EnumMemberTypeMustMatchEnumUnderlyingType | The enum member type must match enum underlying type. | |
EnumMemberValueOutOfRange | The enum member value is out of range. | |
EnumMustHaveIntegerUnderlyingType | An Enum type must have an underlying type of integer. | |
EnumsNotSupportedBeforeV3 | The enumerations are not supported. | |
ExpressionNotValidForTheAssertedType | The expression is not valid for the asserted type. | |
ExpressionPrimitiveKindNotValidForAssertedType | The primitive type is not valid for the requested type. | |
FunctionImportBindableNotSupportedBeforeV3 | The function import bindable is not supported before V3. | |
FunctionImportComposableNotSupportedBeforeV3 | The function import composable is not supported before V3. | |
FunctionImportEntitySetExpressionIsInvalid | Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. | |
FunctionImportEntityTypeDoesNotMatchEntitySet | The function import entity type does not match entity set. | |
FunctionImportParameterIncorrectType | Unsupported function import parameter type. | |
FunctionImportReturnsEntitiesButDoesNotSpecifyEntitySet | The function import returns entities but does not specify entity set. | |
FunctionImportSideEffectingNotSupportedBeforeV3 | The function import side-effecting is not supported before V3. | |
FunctionImportSpecifiesEntitySetButDoesNotReturnEntityType | The function import specifies entity set but does not return entity type. | |
FunctionImportUnsupportedReturnType | The function import has unsupported return type. | |
FunctionsNotSupportedBeforeV2 | The functions is not supported before V2. | |
ImpossibleAnnotationsTarget | The annotation target path cannot possibly refer to an annotable element. | |
InconsistentNavigationPropertyPartner | The navigation properties partner does not point back to the correct type. | |
IncorrectNumberOfArguments | Function application has wrong number of arguments for the function being applied. | |
IntegerConstantValueOutOfRange | The value of the integer constant is out of range for the asserted type. | |
InterfaceCriticalCycleInTypeHierarchy | A chain of base types is cyclic. | |
InterfaceCriticalEnumerableMustNotHaveNullElements | An enumeration property must not contain null elements. | |
InterfaceCriticalEnumPropertyValueOutOfRange | The value of the enum type property is out of range. | |
InterfaceCriticalKindValueMismatch | An object with an interface kind property does not implement the interface corresponding to the value of that property. For example this error will be reported for an object that implements IEdmType interface with kind property reporting EdmTypeKind.Entity, but does not implement IEdmEntityType interface. | |
InterfaceCriticalKindValueUnexpected | The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. | |
InterfaceCriticalNavigationPartnerInvalid | If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. | |
InterfaceCriticalPropertyValueMustNotBeNull | The value of the property must not be null. | |
InvalidAbstractComplexType | The abstract complex type is invalid. | |
InvalidAction | The action is invalid. | |
InvalidAssertTypeExpressionIncorrectNumberOfOperands | The AssertType expression is invalid because it does not have 1 element. | |
InvalidAssociation | The association is invalid. | |
InvalidAssociationSet | The association set is invalid. | |
InvalidAssociationSetEndSetWrongType | The association set end set wrong type is invalid. | |
InvalidBinary | Binary value is invalid. | |
InvalidBoolean | The Boolean value is invalid. | |
InvalidConcurrencyMode | The concurrency mode is invalid. | |
InvalidDateTime | DateTime value is invalid. | |
InvalidDateTimeOffset | DateTimeOffset value is invalid. | |
InvalidDecimal | Decimal value is invalid. | |
InvalidElementAnnotation | ImmediateValueAnnotation is invalid as an element annotation. | |
InvalidEndEntitySet | The end entity set is invalid. | |
InvalidEntitySetPath | Invalid entity set path. | |
InvalidEnumMemberPath | Invalid enum member path. | |
InvalidErrorCodeValue | The error code value is invalid. | |
InvalidFloatingPoint | Floating point value is invalid. | |
InvalidFunctionImportParameterMode | None is not a valid mode for a function import parameter. | |
InvalidGuid | Guid value is invalid. | |
InvalidIfExpressionIncorrectNumberOfOperands | Invalid If expression if the number of operands is incorrect. | |
InvalidInteger | The integer value is invalid. | |
InvalidIsTypeExpressionIncorrectNumberOfOperands | The IsType expression is invalid because it does not have 1 element. | |
InvalidKey | The key value is invalid. | |
InvalidLabeledElementExpressionIncorrectNumberOfOperands | The LabeledElement expression is invalid because it does not have 1 element. | |
InvalidLong | The long value is invalid. | |
InvalidMaxLength | The maximum length value is invalid. | |
InvalidMultiplicity | The multiplicity value is invalid. | |
InvalidMultiplicityOfDependentEnd | Invalid multiplicity of the dependent end of a navigation. | |
InvalidMultiplicityOfPrincipalEnd | Invalid multiplicity of the principal end of a navigation. | |
InvalidName | The name is invalid. | |
InvalidNamespaceName | The name of the namespace is invalid. | |
InvalidNavigationPropertyType | The navigation property type is invalid. | |
InvalidOnDelete | An error occurred processing the OnDelete element. | |
InvalidParameterMode | The parameter mode is invalid. | |
InvalidPolymorphicComplexType | The polymorphic complex type is invalid. | |
InvalidPrimitiveValue | The primitive type is invalid. | |
InvalidPropertyInRelationshipConstraint | The property in relationship constraint. | |
InvalidPropertyType | The property type is invalid. | |
InvalidQualifiedName | The term name is not fully qualified. | |
InvalidRoleInRelationshipConstraint | The role in relationship constraint is invalid. | |
InvalidSrid | The Srid is invalid. | |
InvalidTime | Time value is invalid. | |
InvalidTypeKindNone | The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. | |
InvalidTypeName | The type name is not fully qualified and not a primitive. | |
InvalidValue | The value is invalid. | |
InvalidVersionNumber | The version number is invalid. | |
IsUnboundedCannotBeTrueWhileMaxLengthIsNotNull | IsUnbounded cannot be true if MaxLength is non-null. | |
KeyMissingOnEntityType | The key is missing on entity type. | |
KeyPropertyMustBelongToEntity | The key property must belong to entity. | |
MaxLengthOutOfRange | The maximum length value is out of range. | |
MismatchNumberOfPropertiesInRelationshipConstraint | Mismatch number of properties in relationship constraint. | |
MissingAttribute | The attribute is missing. | |
MissingType | An XML attribute or element representing EDM type is missing. | |
NameTooLong | The name is too long. | |
NavigationPropertyContainsTargetNotSupportedBeforeV3 | Navigation properties with ContainsTarget setting are not supported before version 3.0. | |
NavigationPropertyEntityMustNotIndirectlyContainItself | A navigation property without direct containment cannot contain its declaring entity indirectly. | |
NavigationPropertyTypeInvalidBecauseOfBadAssociation | The navigation property type is invalid because of bad association. | |
NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne | If a navigation property has ContainsTarget = true and the target entity type is different than the declaring type of the property, then the multiplicity of the source of navigation is One. | |
NavigationPropertyWithRecursiveContainmentSourceMustBeFromZeroOrOne | 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. | |
NavigationPropertyWithRecursiveContainmentTargetMustBeOptional | A navigation property with ContainsTarget = true must point to an optional target. | |
NoEntitySetsFoundForType | AssociationSetEnd cannot infer an entity set because no set exists of the given type. | |
NoReadersProvided | No model was parsed because no XmlReaders were provided. | |
NoSchemasProduced | Nothing was written because no schemas were produced. | |
NullableComplexTypeProperty | Nullable complex Type not supported in version 1.0 and 2.0. | |
NullCannotBeAssertedToBeANonNullableType | Null is not valid in a non nullable expression. | |
NullXmlReader | Model could not be parsed because one of the XmlReaders was null. | |
OnlyInputParametersAllowedInFunctions | The input parameters is only allowed in functions. | |
OpenTypeNotSupported | Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. | |
PathExpressionHasNoEntityContext | The path expression has not entity context. | |
PrecisionOutOfRange | The precision is out of range. | |
PrimitiveConstantExpressionNotValidForNonPrimitiveType | A primitive constant expression is not valid for a non-primitive type. | |
PrimitiveTypeMustNotHaveKindOfNone | A primitive type without other errors must not have kind of none. | |
PropertyMustNotHaveKindOfNone | A property without other errors must not have kind of none. | |
QualifierMustBeSimpleName | An annotation qualifier must be a simple name. | |
RecordExpressionHasExtraProperties | The record expression's type is not open, but the record expression has extra properties. | |
RecordExpressionMissingRequiredProperty | The record expression does not have all of the properties required for the specified type. | |
RecordExpressionNotValidForNonStructuredType | A record expression is not valid for a non-structured type. | |
ReferencedTypeMustHaveValidName | A model cannot be serialized to CSDL if it has references to types without fully qualified names. | |
ReferentialConstraintPrincipalEndMustBelongToAssociation | The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. | |
RowTypeMustHaveProperties | The row type must have properties. | |
RowTypeMustNotHaveBaseType | The row type must not have base type. | |
SameRoleReferredInReferentialConstraint | The same role is referred in referential constraint. | |
ScaleOutOfRange | The scale is out of range. | |
SchemaElementMustNotHaveKindOfNone | A schema element without other errors must not have kind of none. | |
SimilarRelationshipEnd | Similar relationship end. | |
SingleFileExpected | The model could not be serialized because multiple schemas were produced and only a single output stream was found. | |
SpatialTypeReferencesNotSupportedBeforeV3 | References to EDM spatial types are not supported before version 3.0. | |
StreamTypeReferencesNotSupportedBeforeV3 | References to EDM stream type are not supported before version 3.0. | |
StringConstantLengthOutOfRange | The length of the string constant is too large for the asserted type. | |
SystemNamespaceEncountered | The system namespace is encountered. | |
TermMustNotHaveKindOfNone | A term without other errors must not have kind of none. | |
TextNotAllowed | Text is not allowed. | |
TypeAnnotationHasExtraProperties | Type annotation has a property binding for a non-existant property and its type is not open. | |
TypeAnnotationMissingRequiredProperty | Type annotation does not have a property binding for all required properties. | |
TypeMismatchRelationshipConstraint | Type mismatch relationship constraint. | |
TypeMustNotHaveKindOfNone | A type without other errors must not have kind of none. | |
TypeSemanticsCouldNotConvertTypeReference | The type semantics could not convert to type reference. | |
UnderlyingTypeIsBadBecauseEnumTypeIsBad | The underlying type is bad because enum type is bad. | |
UnexpectedXmlAttribute | Unexpected XML attribute. | |
UnexpectedXmlElement | Unexpected XML element. | |
UnexpectedXmlNodeType | Unexpected XML node type. | |
UnknownEdmVersion | The EdmVersion is not valid. | |
UnknownEdmxVersion | The Edmx version is not valid. | |
ValueTermsNotSupportedBeforeV3 | Value terms are not supported before EDM 3.0. | |
VocabularyAnnotationsNotSupportedBeforeV3 | Vocabulary annotations are not supported before EDM 3.0. | |
XmlError | An exception was thrown by the underlying xml reader. |
Remarks
No content here will be updated; please do not add material here.