199 references to ErrorCode
System.Data.Entity (199)
System\Data\EntityModel\SchemaObjectModel\Documentation.cs (1)
82AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDocumentationBothTextAndStructure);
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (6)
230AddError(ErrorCode.EntityContainerCannotExtendItself, EdmSchemaErrorSeverity.Error, 235AddError(ErrorCode.InvalidEntityContainerNameInExtends, EdmSchemaErrorSeverity.Error, 352schemaElement.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, 382AddError(ErrorCode.ConcurrencyRedefinedOnSubTypeOfEntitySetType, 410AddError(ErrorCode.SimilarRelationshipEnd, 537entitySet.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DuplicateEntitySetTable(entitySet.Name, schema, table));
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (2)
107end.AddError( ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, reader, 135end.AddError(ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSetEnd.cs (3)
118AddError(ErrorCode.InvalidContainerTypeForEnd, EdmSchemaErrorSeverity.Error, 156AddError( ErrorCode.FailedInference, EdmSchemaErrorSeverity.Error, 163AddError( ErrorCode.FailedInference, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySet.cs (3)
221AddError( ErrorCode.InvalidPropertyType, EdmSchemaErrorSeverity.Error, 234AddError(ErrorCode.EntitySetTypeHasNoKeys, EdmSchemaErrorSeverity.Error, 244AddError(ErrorCode.TableAndSchemaAreMutuallyExclusiveWithDefiningQuery, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySetDefiningQuery.cs (1)
49AddError(ErrorCode.EmptyDefiningQuery, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSet.cs (3)
95AddError( ErrorCode.InvalidPropertyType, EdmSchemaErrorSeverity.Error, 206AddError( ErrorCode.MissingExtentEntityContainerEnd, EdmSchemaErrorSeverity.Error, 212AddError( ErrorCode.AmbiguousEntityContainerEnd, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSetEnd.cs (2)
108AddError( ErrorCode.InvalidEndEntitySet, EdmSchemaErrorSeverity.Error, 136AddError( ErrorCode.InvalidEndEntitySet, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (6)
88AddError(ErrorCode.InvalidKey, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidKeyNoProperty(this.ParentElement.FQName, property.Name)); 108AddError(ErrorCode.DuplicatePropertySpecifiedInEntityKey, EdmSchemaErrorSeverity.Error, 117AddError(ErrorCode.InvalidKey, EdmSchemaErrorSeverity.Error, 124AddError(ErrorCode.EntityKeyMustBeScalar, 142AddError(ErrorCode.EntityKeyTypeCurrentlyNotSupported, 155AddError(ErrorCode.EntityKeyTypeCurrentlyNotSupported,
System\Data\EntityModel\SchemaObjectModel\Function.cs (10)
426AddError(ErrorCode.ReturnTypeDeclaredAsAttributeAndElement, EdmSchemaErrorSeverity.Error, Strings.TypeDeclaredAsAttributeAndElement); 436AddError(ErrorCode.ComposableFunctionOrFunctionImportWithoutReturnType, EdmSchemaErrorSeverity.Error, 445AddError(ErrorCode.NonComposableFunctionWithReturnType, EdmSchemaErrorSeverity.Error, 459AddError(ErrorCode.InvalidNumberOfParametersForAggregateFunction, 470AddError(ErrorCode.InvalidParameterTypeForAggregateFunction, 485AddError(ErrorCode.NonComposableFunctionAttributesNotValid, EdmSchemaErrorSeverity.Error, 495AddError(ErrorCode.ComposableFunctionWithCommandText, EdmSchemaErrorSeverity.Error, 502AddError(ErrorCode.FunctionDeclaresCommandTextAndStoreFunctionName, EdmSchemaErrorSeverity.Error, 514AddError(ErrorCode.FunctionWithNonPrimitiveTypeNotSupported, 783AddError(ErrorCode.InvalidValueForParameterTypeSemantics, EdmSchemaErrorSeverity.Error, reader,
System\Data\EntityModel\SchemaObjectModel\FunctionCommandText.cs (1)
49AddError(ErrorCode.EmptyCommandText, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (10)
125owner.AddError(ErrorCode.FunctionImportUnknownEntitySet, 150this.AddError(ErrorCode.FunctionImportComposableAndSideEffectingNotAllowed, 161this.AddError(ErrorCode.FunctionImportCollectionAndRefParametersNotAllowed, 168this.AddError(ErrorCode.FunctionImportNonNullableParametersNotAllowed, 180owner.AddError(ErrorCode.FunctionImportUnsupportedReturnType, 229owner.AddError(ErrorCode.FunctionImportEntitySetAndEntitySetPathDeclared, 240owner.AddError(ErrorCode.FunctionImportReturnsEntitiesButDoesNotSpecifyEntitySet, 247owner.AddError(ErrorCode.FunctionImportEntityTypeDoesNotMatchEntitySet, 263ErrorCode.ComplexTypeAsReturnTypeAndDefinedEntitySet, 279owner.AddError(ErrorCode.FunctionImportSpecifiesEntitySetButDoesNotReturnEntityType,
System\Data\EntityModel\SchemaObjectModel\ItemType.cs (3)
56AddError(ErrorCode.InvalidBaseType, EdmSchemaErrorSeverity.Error, 62AddError(ErrorCode.InvalidKey, EdmSchemaErrorSeverity.Error, 70AddError(ErrorCode.KeyMissingOnEntityType, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\NavigationProperty.cs (5)
125AddError(ErrorCode.BadNavigationProperty, EdmSchemaErrorSeverity.Error, 133AddError(ErrorCode.BadNavigationProperty, EdmSchemaErrorSeverity.Error, 140AddError(ErrorCode.BadNavigationProperty, EdmSchemaErrorSeverity.Error, 148AddError(ErrorCode.BadNavigationProperty, EdmSchemaErrorSeverity.Error, 165AddError(ErrorCode.BadNavigationProperty, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\OnOperation.cs (1)
114AddError( ErrorCode.InvalidAction, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.InvalidAction(reader.Value, ParentElement.FQName ) );
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (3)
258AddError(ErrorCode.BadParameterDirection, EdmSchemaErrorSeverity.Error, reader, 393AddError(ErrorCode.FunctionWithNonEdmTypeNotSupported, 400AddError(ErrorCode.FunctionWithNonPrimitiveTypeNotSupported,
System\Data\EntityModel\SchemaObjectModel\PrimitiveSchema.cs (1)
31(int)ErrorCode.FailedToRetrieveProviderManifest,
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (11)
57AddError(ErrorCode.SameRoleReferredInReferentialConstraint, 84AddError(ErrorCode.InvalidPropertyInRelationshipConstraint, 113AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 121AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 140AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 150AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 161AddError(ErrorCode.InvalidPropertyInRelationshipConstraint, 174AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 183AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 190AddError(ErrorCode.MismatchNumberOfPropertiesInRelationshipConstraint, 200AddError(ErrorCode.TypeMismatchRelationshipConstaint,
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (2)
109AddError(ErrorCode.InvalidRoleInRelationshipConstraint, 136AddError(ErrorCode.InvalidPropertyInRelationshipConstraint,
System\Data\EntityModel\SchemaObjectModel\Relationship.cs (3)
124end.AddError( ErrorCode.InvalidOperation, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidOperationMultipleEndsInAssociation); 134AddError(ErrorCode.MissingConstraintOnRelationshipType, 195AddError( ErrorCode.InvalidAssociation, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.TooManyAssociationEnds(FQName ) );
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (5)
97AddError(ErrorCode.InvalidRelationshipEndType, EdmSchemaErrorSeverity.Error, 110AddError(ErrorCode.EndWithManyMultiplicityCannotHaveOperationsSpecified, 121AddError(ErrorCode.EndWithoutMultiplicity, 216AddError(ErrorCode.InvalidMultiplicity, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.InvalidRelationshipEndMultiplicity(ParentElement.Name, reader.Value)); 242AddError(ErrorCode.InvalidOperation, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.DuplicationOperation(reader.Name));
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
87end.AddError( ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (4)
322AddError(ErrorCode.FunctionWithNonEdmTypeNotSupported, 338AddError(ErrorCode.FunctionWithNonPrimitiveTypeNotSupported, 351AddError(ErrorCode.FunctionWithNonPrimitiveTypeNotSupported, 371AddError(ErrorCode.TVFReturnTypeRowHasNonScalarProperty,
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (1)
147AddError(ErrorCode.RowTypeWithoutProperty, EdmSchemaErrorSeverity.Error, Strings.RowTypeWithoutProperty);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (24)
117AddError(ErrorCode.IOException, EdmSchemaErrorSeverity.Error, sourceReader, ex); 158AddError(ErrorCode.EmptyFile, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.EmptyFile(sourceLocation)); 162AddError(ErrorCode.EmptyFile, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.EmptySchemaTextReader); 171AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, messageFormat(sourceReader.NamespaceURI, sourceReader.LocalName, expectedNamespacesString)); 223AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.UnexpectedRootElement(sourceReader.NamespaceURI, sourceReader.LocalName, SchemaXmlNamespace)); 230AddError(ErrorCode.InternalError, EdmSchemaErrorSeverity.Error, ex.Message); 234AddError(ErrorCode.UnauthorizedAccessException, EdmSchemaErrorSeverity.Error, sourceReader, ex); 238AddError(ErrorCode.IOException, EdmSchemaErrorSeverity.Error, sourceReader, ex); 242AddError(ErrorCode.SecurityError, EdmSchemaErrorSeverity.Error, sourceReader, ex); 246AddError(ErrorCode.XmlError, EdmSchemaErrorSeverity.Error, sourceReader, ex); 335AddError(ErrorCode.XmlError, severity, e.Exception.LineNumber, e.Exception.LinePosition, e.Message); 441AddError(ErrorCode.MissingNamespaceAttribute, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.MissingNamespaceAttribute); 448AddError(ErrorCode.CannotUseSystemNamespaceAsAlias, EdmSchemaErrorSeverity.Error, 457AddError(ErrorCode.SystemNamespace, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.SystemNamespaceEncountered(Namespace)); 495return _schemaManager.GetProviderManifest((string message, ErrorCode code, EdmSchemaErrorSeverity severity)=>AddError(code, severity, message)); 855usingElement.AddError(ErrorCode.NotInNamespace, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.NotNamespaceQualified(typeName)); 859usingElement.AddError(ErrorCode.BadNamespace, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.BadNamespaceOrAlias(actualQualification)); 866usingElement.AddError(ErrorCode.NotInNamespace, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.NotInNamespaceAlias(unqualifiedTypeName, namespaceName, definingQualification)); 870usingElement.AddError(ErrorCode.NotInNamespace, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.NotInNamespaceNoAlias(unqualifiedTypeName, namespaceName)); 879usingElement.AddError(ErrorCode.InvalidNamespaceOrAliasSpecified, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidNamespaceOrAliasSpecified(actualQualification)); 969(string message, ErrorCode code, EdmSchemaErrorSeverity severity) => AddError(code, severity, reader, message)); 982(string message, ErrorCode code, EdmSchemaErrorSeverity severity) => AddError(code, severity, reader, message)); 1172function.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, 1182function.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\SchemaComplexType.cs (1)
47AddError( ErrorCode.InvalidBaseType, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (12)
187internal void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, int lineNumber, int linePosition, object message ) 199internal void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, XmlReader reader, object message ) 213internal void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, object message ) 225internal void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, SchemaElement element, object message ) 302AddError( ErrorCode.UnexpectedXmlNodeType, EdmSchemaErrorSeverity.Error, reader, 312AddError( ErrorCode.MalformedXml, EdmSchemaErrorSeverity.Error, 0, 0, 566private void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, string sourceLocation, int lineNumber, int linePosition, object message ) 617AddError(ErrorCode.UnexpectedXmlAttribute, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.UnexpectedXmlAttribute(reader.Name)); 678AddError(ErrorCode.NoCodeGenNamespaceInStructuralAnnotation, EdmSchemaErrorSeverity.Error, lineNumber, linePosition, Strings.NoCodeGenNamespaceInStructuralAnnotation(XmlConstants.CodeGenerationSchemaNamespace)); 716AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, lineNumber, linePosition, Strings.DuplicateAnnotation(property.Identity, this.FQName)); 755AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.UnexpectedXmlElement(reader.Name)); 793AddError( ErrorCode.TextNotAllowed, EdmSchemaErrorSeverity.Error, reader, System.Data.Entity.Strings.TextNotAllowed(reader.Value ) );
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (2)
155type.AddError(ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, 162type.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (4)
180AddError(ErrorCode.CalculatedEnumValueOutOfRange, 223AddError(ErrorCode.InvalidEnumUnderlyingType, 237invalidEnumMember.AddError(ErrorCode.EnumMemberValueOutOfItsUnderylingTypeRange, 246AddError(ErrorCode.DuplicateEnumMember,
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (4)
71usingElement.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.AliasNameIsAlreadyDefined(newAlias)); 105usingElement.AddError(ErrorCode.InvalidNamespaceInUsing, EdmSchemaErrorSeverity.Error, 131refSchema.AddError(ErrorCode.CannotUseSystemNamespaceAsAlias, EdmSchemaErrorSeverity.Error, 136refSchema.AddError(ErrorCode.NeedNotUseSystemNamespaceInUsing, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (6)
23internal delegate void AttributeValueNotification(string token, Action<string, ErrorCode, EdmSchemaErrorSeverity> addError); 24internal delegate DbProviderManifest ProviderManifestNeeded(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError); 94public static void NoOpAttributeValueNotification(string attributeValue, Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) { } 106delegate(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) { return providerManifest == null ? MetadataItem.EdmProviderManifest : providerManifest; }, 283(int)ErrorCode.CannotLoadDifferentVersionOfSchemaInTheSameItemCollection, 407internal DbProviderManifest GetProviderManifest(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError)
System\Data\EntityModel\SchemaObjectModel\StructuredProperty.cs (3)
174AddError(ErrorCode.InvalidPropertyType, EdmSchemaErrorSeverity.Error, 225AddError(ErrorCode.NullableComplexType, EdmSchemaErrorSeverity.Error, 264AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, reader,
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (4)
188member.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, errorMessage); 221newMember.AddError(ErrorCode.BadProperty, EdmSchemaErrorSeverity.Error, 343AddError(ErrorCode.InvalidBaseType, EdmSchemaErrorSeverity.Error, 355AddError(ErrorCode.CycleInTypeHierarchy, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (4)
204AddError(ErrorCode.InvalidPrimitiveTypeKind, EdmSchemaErrorSeverity.Error, 253AddError(ErrorCode.InvalidFacetInProviderManifest, 287AddError(ErrorCode.BadPrecisionAndScale, 316AddError(ErrorCode.RequiredFacetMissing,
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (23)
126_element.AddError(ErrorCode.ConstantFacetSpecifiedInSchema, 144_element.AddError(ErrorCode.RequiredFacetMissing, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.RequiredFacetMissing( 175_element.AddError(ErrorCode.FacetNotAllowedByType, 282_element.AddError(ErrorCode.FacetNotAllowedByType, 387_element.AddError(ErrorCode.PrecisionOutOfRange, 406_element.AddError(ErrorCode.ScaleOutOfRange, 418_element.AddError(ErrorCode.BadPrecisionAndScale, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.BadPrecisionAndScale(precision, scale)); 444_element.AddError(ErrorCode.PrecisionOutOfRange, 487_element.AddError(ErrorCode.InvalidSize, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSize(length, minLength, maxLength, primitiveType.Name)); 499_element.AddError(ErrorCode.FacetNotAllowedByType, 508_element.AddError(ErrorCode.UnexpectedSpatialType, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.SpatialWithUseStrongSpatialTypesFalse); 530_element.AddError(ErrorCode.InvalidSystemReferenceId, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSystemReferenceId(srid, minSrid, maxSrid, primitiveType.Name)); 694_element.AddError(ErrorCode.DefaultNotAllowed, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DefaultNotAllowed); 764_element.AddError(ErrorCode.DefaultNotAllowed, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DefaultNotAllowed); 778_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, errorMessage); 784_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultBoolean(_default)); 790_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultIntegral(_default, minValue, maxValue)); 797_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultDateTime(_default, 806_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultTime(_default, 815_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultDateTimeOffset(_default, 827_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultDecimal(_default, 38, 38)); 833_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultFloatingPoint(_default, minValue, maxValue)); 839_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultGuid(_default));
System\Data\EntityModel\SchemaObjectModel\Utils.cs (7)
114schema.AddError( ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, reader, 152schema.AddError(ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, reader, 183schema.AddError( ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, reader, 191schema.AddError( ErrorCode.InvalidName, EdmSchemaErrorSeverity.Error, reader, 250schema.AddError(ErrorCode.BoolValueExpected, EdmSchemaErrorSeverity.Error, reader, 276schema.AddError( ErrorCode.IntegerExpected, EdmSchemaErrorSeverity.Error, reader, 301schema.AddError( ErrorCode.ByteValueExpected, EdmSchemaErrorSeverity.Error, reader,
System\Data\EntityModel\SchemaObjectModel\ValidationHelper.cs (5)
49element.AddError(ErrorCode.FacetOnNonScalarType, EdmSchemaErrorSeverity.Error, Strings.FacetsOnNonScalarType(type.FQName)); 57element.AddError(ErrorCode.IncorrectlyPlacedFacet, EdmSchemaErrorSeverity.Error, Strings.FacetDeclarationRequiresTypeAttribute); 79element.AddError(ErrorCode.TypeNotDeclared, EdmSchemaErrorSeverity.Error, Strings.TypeMustBeDeclared); 85element.AddError(ErrorCode.TypeDeclaredAsAttributeAndElement, EdmSchemaErrorSeverity.Error, Strings.TypeDeclaredAsAttributeAndElement); 101element.AddError(ErrorCode.ReferenceToNonEntityType, EdmSchemaErrorSeverity.Error, Strings.ReferenceToNonEntityType(type.FQName));
System\Data\Metadata\EdmItemCollection.cs (1)
339(int)ErrorCode.DuplicatedFunctionoverloads,
System\Data\Metadata\StoreItemCollection.Loader.cs (11)
101private void OnProviderNotification(string provider, Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) 126ErrorCode.InconsistentProvider, 130private void InitializeProviderManifest(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) 142addError(e.Message, ErrorCode.InvalidProvider, EdmSchemaErrorSeverity.Error); 159addError(Strings.OnlyStoreConnectionsSupported, ErrorCode.InvalidProvider, EdmSchemaErrorSeverity.Error); 177private void OnProviderManifestTokenNotification(string token, Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) 189ErrorCode.ProviderManifestTokenMismatch, 194private DbProviderManifest OnProviderManifestNeeded(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) 199ErrorCode.ProviderManifestTokenNotFound, 205private void AddProviderIncompatibleError(ProviderIncompatibleException provEx, Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) 217ErrorCode.FailedToRetrieveProviderManifest,