9 references to AddError
System.Data.Entity (9)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (2)
121AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint, 140AddError(ErrorCode.InvalidMultiplicityInRoleInRelationshipConstraint,
System\Data\EntityModel\SchemaObjectModel\Schema.cs (3)
171AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, messageFormat(sourceReader.NamespaceURI, sourceReader.LocalName, expectedNamespacesString)); 230AddError(ErrorCode.InternalError, EdmSchemaErrorSeverity.Error, ex.Message); 495return _schemaManager.GetProviderManifest((string message, ErrorCode code, EdmSchemaErrorSeverity severity)=>AddError(code, severity, message));
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
162type.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error,
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (1)
188member.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, errorMessage);
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (1)
253AddError(ErrorCode.InvalidFacetInProviderManifest,
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
778_element.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, errorMessage);