12 instantiations of EdmSchemaError
System.Data.Entity (12)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (3)
571error = new EdmSchemaError( messageString, (int)errorCode, severity, sourceLocation, lineNumber, linePosition ); 576error = new EdmSchemaError( ex.Message, (int)errorCode, severity, sourceLocation, lineNumber, linePosition, ex ); 578error = new EdmSchemaError( message.ToString(), (int)errorCode, severity, sourceLocation, lineNumber, linePosition );
System\Data\Mapping\StorageMappingItemLoader.cs (7)
2493EdmSchemaError error = new EdmSchemaError( 3386EdmSchemaError error = new EdmSchemaError(message, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3392EdmSchemaError error = new EdmSchemaError(messageFormat(errorMember), (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3400EdmSchemaError error = new EdmSchemaError( 3408EdmSchemaError error = new EdmSchemaError(errorMessage, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3619EdmSchemaError error = new EdmSchemaError( 3653EdmSchemaError error = new EdmSchemaError(
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (1)
147m_mappingError = new EdmSchemaError(userMessage, (int)errorCode, EdmSchemaErrorSeverity.Error, sourceLocation,
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
283EdmSchemaError edmSchemaError = new EdmSchemaError(message, (int)ViewGenErrorCode.MissingExtentMapping,
239 references to EdmSchemaError
System.Data.Entity (107)
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
101IList<EdmSchemaError> errors = SchemaManager.LoadProviderManifest(reader, reader.BaseURI.Length > 0 ? reader.BaseURI : null, true /*checkForSystemNamespace*/, out schema);
System\Data\Common\Utils\MetadataHelper.cs (2)
804internal static bool CheckIfAllErrorsAreWarnings(IList<EdmSchemaError> schemaErrors) 809EdmSchemaError error = schemaErrors[i];
System\Data\EntityModel\SchemaObjectModel\Schema.cs (11)
35private List<EdmSchemaError> _errors = new List<EdmSchemaError>(); 67_errors = new List<EdmSchemaError>(); 70internal IList<EdmSchemaError> Resolve() 81internal IList<EdmSchemaError> ValidateSchema() 87internal void AddError(EdmSchemaError error) 98internal IList<EdmSchemaError> Parse(XmlReader sourceReader, string sourceLocation) 131private IList<EdmSchemaError> InternalParse(XmlReader sourceReader, string sourceLocation) 1144private List<EdmSchemaError> ResetErrors() 1146List<EdmSchemaError> errors = _errors; 1147_errors = new List<EdmSchemaError>();
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
568EdmSchemaError error = null;
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (8)
70public static IList<EdmSchemaError> LoadProviderManifest(XmlReader xmlReader, string location, 76IList<EdmSchemaError> errors = ParseAndValidate(new XmlReader[] { xmlReader }, 96public static IList<EdmSchemaError> ParseAndValidate(IEnumerable<XmlReader> xmlReaders, 110public static IList<EdmSchemaError> ParseAndValidate(IEnumerable<XmlReader> xmlReaders, 118var errorCollection = new List<EdmSchemaError>(); 274private static bool CheckIsSameVersion(Schema schemaToBeAdded, IEnumerable<Schema> schemaCollection, List<EdmSchemaError> errorCollection) 372private static bool UpdateErrorCollectionAndCheckForMaxErrors(List<EdmSchemaError> errorCollection, 373IList<EdmSchemaError> newErrors, ref bool errorEncountered)
System\Data\Mapping\FunctionImportMapping.cs (3)
223internal bool ValidateTypeConditions(bool validateAmbiguity, IList<EdmSchemaError> errors, string sourceLocation) 235EdmSchemaError error = new EdmSchemaError( 250EdmSchemaError error = new EdmSchemaError(
System\Data\Mapping\FunctionImportMappingComposable.cs (6)
98var viewGenErrors = new List<EdmSchemaError>(); 212internal DbQueryCommandTree GenerateFunctionView(IList<EdmSchemaError> errors, out DiscriminatorMap discriminatorMap) 263internal void ValidateFunctionView(IList<EdmSchemaError> errors) 271private DbExpression GenerateStructuralTypeResultMappingView(DbExpression storeFunctionInvoke, IList<EdmSchemaError> errors, out DiscriminatorMap discriminatorMap) 357private DbExpression GenerateStructuralTypeMappingView(StructuralType structuralType, List<StoragePropertyMapping> propertyMappings, DbExpression row, IList<EdmSchemaError> errors) 407private DbExpression GeneratePropertyMappingView(StoragePropertyMapping mapping, DbExpression row, List<string> context, IList<EdmSchemaError> errors)
System\Data\Mapping\StorageMappingItemCollection.cs (13)
153out IList<EdmSchemaError> errors) 193private IList<EdmSchemaError> Init(EdmItemCollection edmCollection, 211List<EdmSchemaError> errors = new List<EdmSchemaError>(); 399internal Dictionary<EntitySetBase, string> GenerateEntitySetViews(out IList<EdmSchemaError> errors) 402errors = new List<EdmSchemaError>(); 428((List<EdmSchemaError>)errors).AddRange(viewGenResults.Errors); 731private List<EdmSchemaError> LoadItems(IEnumerable<XmlReader> xmlReaders, 739List<EdmSchemaError> errors = new List<EdmSchemaError>(); 789IList<EdmSchemaError> errors) 835private void CheckIsSameVersion(double expectedVersion, double currentLoaderVersion, IList<EdmSchemaError> errors) 892private static void CheckForDuplicateItems(EdmItemCollection edmItemCollection, StoreItemCollection storeItemCollection, List<EdmSchemaError> errorCollection)
System\Data\Mapping\StorageMappingItemLoader.cs (26)
114m_parsingErrors = new List<EdmSchemaError>(); 140private List<EdmSchemaError> m_parsingErrors; 157internal IList<EdmSchemaError> ParsingErrors 218EdmSchemaError error = new EdmSchemaError(Strings.Mapping_InvalidMappingSchema_Parsing(xmlException.Message) 1365EdmSchemaError error = null; 1428EdmSchemaError error = AddToSchemaErrorsWithMemberInfo(Strings.Mapping_InvalidContent_ForeignKey_Association_Set_PKtoPK, associationSetName, 2456EdmSchemaError error = new EdmSchemaError( 2493EdmSchemaError error = new EdmSchemaError( 2512var error = new EdmSchemaError( 2885EdmSchemaError error = new EdmSchemaError( 3384private static void AddToSchemaErrors(string message, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3386EdmSchemaError error = new EdmSchemaError(message, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3390private static EdmSchemaError AddToSchemaErrorsWithMemberInfo(Func<object, string> messageFormat, string errorMember, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3392EdmSchemaError error = new EdmSchemaError(messageFormat(errorMember), (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3398string errorStructure, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3400EdmSchemaError error = new EdmSchemaError( 3406private static void AddToSchemaErrorWithMessage(string errorMessage, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3408EdmSchemaError error = new EdmSchemaError(errorMessage, (int)errorCode, EdmSchemaErrorSeverity.Error, location, lineInfo.LineNumber, lineInfo.LinePosition); 3464private static bool TryGetTypedAttributeValue(XPathNavigator nav, string attributeName, Type clrType, string sourceLocation, IList<EdmSchemaError> parsingErrors, out object value) 3489private static EnumMember GetEnumAttributeValue(XPathNavigator nav, string attributeName, EnumType enumType, string sourceLocation, IList<EdmSchemaError> parsingErrors) 3581EdmSchemaError error = new EdmSchemaError(Strings.Mapping_InvalidMappingSchema_validation(args.Exception.Message) 3619EdmSchemaError error = new EdmSchemaError( 3639EdmSchemaError error = new EdmSchemaError( 3653EdmSchemaError error = new EdmSchemaError( 4071EdmSchemaError error = StorageMappingItemLoader.AddToSchemaErrorsWithMemberInfo(
System\Data\Mapping\ViewGeneration\GeneratedView.cs (4)
87/*out*/ IList<EdmSchemaError> errors, 97EdmSchemaError error = new EdmSchemaError(System.Data.Entity.Strings.Mapping_Invalid_QueryView2(setMapping.Set.Name, parserException.Message), 108foreach (var error in ViewValidator.ValidateQueryView(commandTree, setMapping, type, includeSubtypes)) 118EdmSchemaError error = new EdmSchemaError(System.Data.Entity.Strings.Mapping_Invalid_QueryView_Type(setMapping.Set.Name),
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (4)
43internal IEnumerable<EdmSchemaError> Errors 125internal Record(EdmSchemaError error) 153private EdmSchemaError m_mappingError; 160internal EdmSchemaError Error
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
283EdmSchemaError edmSchemaError = new EdmSchemaError(message, (int)ViewGenErrorCode.MissingExtentMapping,
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (1)
51internal IEnumerable<EdmSchemaError> Errors
System\Data\Mapping\ViewValidator.cs (7)
32internal static IEnumerable<EdmSchemaError> ValidateQueryView(DbQueryCommandTree view, StorageSetMapping setMapping, EntityTypeBase elementType, bool includeSubtypes) 54private readonly List<EdmSchemaError> _errors; 70_errors = new List<EdmSchemaError>(); 73internal IEnumerable<EdmSchemaError> Errors { get { return _errors; } } 266private List<EdmSchemaError> _errors = new List<EdmSchemaError>(); 275internal List<EdmSchemaError> Errors
System\Data\Metadata\EdmItemCollection.cs (9)
45out IList<EdmSchemaError> errors) 156private IList<EdmSchemaError> Init(IEnumerable<XmlReader> xmlReaders, 165IList<EdmSchemaError> errors = LoadItems(xmlReaders, filePaths, SchemaDataModelOption.EntityDataModel, 269internal static IList<EdmSchemaError> LoadItems(IEnumerable<XmlReader> xmlReaders, 286List<EdmSchemaError> errors = LoadItems(providerManifest, schemaCollection, itemCollection); 287foreach (var error in errors) 301internal static List<EdmSchemaError> LoadItems(DbProviderManifest manifest, IList<Schema> somSchemas, 305List<EdmSchemaError> errors = new List<EdmSchemaError>();
System\Data\Metadata\ObjectHelper.cs (4)
51static internal string CombineErrorMessage(IEnumerable<System.Data.Metadata.Edm.EdmSchemaError> errors) 56foreach (System.Data.Metadata.Edm.EdmSchemaError error in errors) 143List<EdmSchemaError> parsingErrors, StoreItemCollection storeItemCollection) 168List<EdmSchemaError> parsingErrors,
System\Data\Metadata\StoreItemCollection.cs (4)
77out IList<EdmSchemaError> errors) 186private IList<EdmSchemaError> Init(IEnumerable<XmlReader> xmlReaders, 207List<EdmSchemaError> errorList = EdmItemCollection.LoadItems(_providerManifest, loader.Schemas, this); 208foreach (var error in errorList)
System\Data\Metadata\StoreItemCollection.Loader.cs (2)
28IList<EdmSchemaError> _errors; 40public IList<EdmSchemaError> Errors
System.Data.Entity.Design (124)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (2)
70IList<EdmSchemaError> errors = null; 93foreach (EdmSchemaError error in errors)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
44public class ErrorsLookup : Dictionary<MetadataItem, List<EdmSchemaError>> { } 398List<EdmSchemaError> errors; 405foreach (EdmSchemaError error in errors)
System\Data\Entity\Design\Common\MetadataUtil.cs (4)
75internal static bool CheckIfAllErrorsAreWarnings(IList<EdmSchemaError> schemaErrors) 80EdmSchemaError error = schemaErrors[i]; 261static internal string CombineErrorMessage(IEnumerable<System.Data.Metadata.Edm.EdmSchemaError> errors) 266foreach (System.Data.Metadata.Edm.EdmSchemaError error in errors)
System\Data\Entity\Design\EntityCodeGenerator.cs (33)
66/// <returns>A list of <see cref="EdmSchemaError"/> objects that contains any generated errors.</returns> 70public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetEntityFrameworkVersion) 85public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, IEnumerable<string> additionalEdmSchemaFilePaths) 88IList<EdmSchemaError> errors = GetMinimumTargetFrameworkVersion(sourceEdmSchemaFilePath, out targetFrameworkVersion); 107/// <returns>A list of <see cref="EdmSchemaError"/> objects that contains any generated errors.</returns> 111public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, Version targetEntityFrameworkVersion) 123public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath) 126IList<EdmSchemaError> errors = GetMinimumTargetFrameworkVersion(sourceEdmSchemaFilePath, out targetFrameworkVersion); 145/// <returns>A list of <see cref="EdmSchemaError"/> objects that contains any generated errors.</returns> 148public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, Version targetEntityFrameworkVersion) 157return new List<EdmSchemaError>() { CreateSourceEdmSchemaNotValidError() }; 171public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target) 174IList<EdmSchemaError> errors = GetMinimumTargetFrameworkVersion(sourceEdmSchema, out targetFrameworkVersion); 196/// <returns>A list of <see cref="EdmSchemaError"/> objects that contains any generated errors.</returns> 199public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, IEnumerable<XmlReader> additionalEdmSchemas, Version targetEntityFrameworkVersion) 209return new List<EdmSchemaError>() { CreateSourceEdmSchemaNotValidError() }; 232public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, IEnumerable<XmlReader> additionalEdmSchemas) 235IList<EdmSchemaError> errors = GetMinimumTargetFrameworkVersion(sourceEdmSchema, out targetFrameworkVersion); 246private IList<EdmSchemaError> InternalGenerateCode(string sourceEdmSchemaFilePath, LazyTextWriterCreator textWriter, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetFrameworkVersion) 252return new List<EdmSchemaError>() { new EdmSchemaError(Strings.EdmSchemaFileNotFound(sourceEdmSchemaFilePath), (int)ModelBuilderErrorCode.FileNotFound, EdmSchemaErrorSeverity.Error, sourceEdmSchemaFilePath, 0, 0) }; 260return new List<EdmSchemaError>() { CreateSourceEdmSchemaNotValidError() }; 285private IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(string sourceEdmSchemaFilePath, out Version targetFrameworkVersion) 297return new List<EdmSchemaError>() { EntityClassGenerator.CreateErrorForException(ModelBuilderErrorCode.FileNotFound, ex) }; 301private IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(XmlReader sourceEdmSchemaXmlReader, out Version targetFrameworkVersion) 303List<EdmSchemaError> errorList = new List<EdmSchemaError>(); 323private IList<EdmSchemaError> InternalGenerateCode(string sourceEdmSchemaFilePath, Version schemaVersion, LazyTextWriterCreator textWriter, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetFrameworkVersion) 325List<EdmSchemaError> errors = new List<EdmSchemaError>(); 400private static EdmSchemaError CreateSourceEdmSchemaNotValidError() 405private IList<EdmSchemaError> GenerateCodeFor1_1Schema(string sourceEdmSchemaFilePath, LazyTextWriterCreator textWriter, IEnumerable<string> additionalEdmSchemaFilePaths) 419IList<EdmSchemaError> errors = generator.GenerateCode(sourceEdmSchemaFilePath, target, additionalEdmSchemaFilePaths != null ? additionalEdmSchemaFilePaths : Enumerable.Empty<string>()); 446private static EdmSchemaError ConvertToEdmSchemaError(CompilerError error, ModelBuilderErrorCode defaultErrorCode)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (5)
199public IList<EdmSchemaError> GenerateMetadata() 210public IList<EdmSchemaError> GenerateMetadata(Version targetEntityFrameworkVersion) 280public IList<EdmSchemaError> Errors = new List<EdmSchemaError>(); 304private IList<EdmSchemaError> InternalGenerateMetadata()
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (23)
101public IList<EdmSchemaError> GenerateStoreMetadata() 112public IList<EdmSchemaError> GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry> filters) 124public IList<EdmSchemaError> GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry> filters, Version targetEntityFrameworkVersion) 136private IList<EdmSchemaError> DoGenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry> filters, Version targetEntityFrameworkVersion) 231return new List<EdmSchemaError>(session.Errors); 360IList<EdmSchemaError> errors; 424private static void ThrowOnError(IList<EdmSchemaError> errors) 443internal static bool HasErrorSeverityErrors(IEnumerable<EdmSchemaError> errors) 445foreach (EdmSchemaError error in errors) 549List<EdmSchemaError> errors = new List<EdmSchemaError>(); 612List<EdmSchemaError> tvfReturnTypeErrors; 824List<EdmSchemaError> errors = new List<EdmSchemaError>(); 1002List<EdmSchemaError> errors) 1099List<EdmSchemaError>/*errors*/> createType, 1150List<EdmSchemaError> errors) 1158errors = new List<EdmSchemaError>(); 1201errors = new List<EdmSchemaError>(); 1277List<EdmSchemaError> errors) 1285errors = new List<EdmSchemaError>(); 1305List<EdmSchemaError> errors, 1554IEnumerable<EdmSchemaError> errors = modelGen.GenerateMetadata();
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (9)
50public IEnumerable<EdmSchemaError> Errors 54foreach (List<EdmSchemaError> errors in ItemToErrorsMap.Values) 56foreach (EdmSchemaError error in errors) 178internal void AddErrorsForType(EdmType type, params EdmSchemaError [] errors) 180AddErrorsForType(type, (ICollection<EdmSchemaError>)errors); 183internal void AddErrorsForType(EdmType type, ICollection<EdmSchemaError> errors) 198List<EdmSchemaError> list = errors as List<EdmSchemaError>; 201list = new List<EdmSchemaError>(errors);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (20)
101public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, string outputPath) 130public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, TextWriter outputWriter) 135IList<EdmSchemaError> errorList = GetMinimumTargetFrameworkVersion(mappingCollection, out targetEntityFrameworkVersion); 150public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, TextWriter outputWriter, Version targetEntityFrameworkVersion) 177private IList<EdmSchemaError> InternalGenerateViews( 182IList<EdmSchemaError> schemaErrors; 204public static IList<EdmSchemaError> Validate(StorageMappingItemCollection mappingCollection) 209IList<EdmSchemaError> errorList = GetMinimumTargetFrameworkVersion(mappingCollection, out targetEntityFrameworkVersion); 220public static IList<EdmSchemaError> Validate(StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion) 232IList<EdmSchemaError> schemaErrors; 264private static IList<EdmSchemaError> HandleValidationErrors(IList<EdmSchemaError> schemaErrors) 266IEnumerable<EdmSchemaError> warningsToRemove = 273private bool GetViewsWithErrors(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 284private void GetViewsAndCodeDomProvider(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 304out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 309private static IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(StorageMappingItemCollection mappingCollection, out Version targetFrameworkVersion) 311List<EdmSchemaError> errorList = new List<EdmSchemaError>(); 333Dictionary<EntitySetBase, string> generatedViews, TextWriter sourceWriter, CodeDomProvider provider, IList<EdmSchemaError> schemaErrors)
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (7)
43out IList<EdmSchemaError> errors) 61out IList<EdmSchemaError> errors) 74internal static bool ValidateActualVersionAgainstTarget(Version maxExpectedVersion, Version actualVersion, IList<EdmSchemaError> errors) 94out IList<EdmSchemaError> errors) 112out IList<EdmSchemaError> errors) 131StoreItemCollection storeCollection, IEnumerable<XmlReader> readers, out IList<EdmSchemaError> errors) 153out IList<EdmSchemaError> errors)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
45List<EdmSchemaError> _errors; 51public ClientApiGenerator(Schema sourceSchema, EdmItemCollection edmItemCollection, EntityClassGenerator generator, List<EdmSchemaError> errors) 408foreach (EdmSchemaError error in _errors)
System\Data\EntityModel\EntityClassGenerator.cs (15)
103public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target) 113public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, IEnumerable<XmlReader> additionalEdmSchemas) 119List<EdmSchemaError> errors = new List<EdmSchemaError>(); 177public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetFilePath) 185public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, IEnumerable<string> additionalEdmSchemaFilePaths) 191List<EdmSchemaError> errors = new List<EdmSchemaError>(); 276List<EdmSchemaError> errors) 287IList<EdmSchemaError> schemaManagerErrors = 332private static EdmSchemaError CreateErrorForException(System.Data.EntityModel.SchemaObjectModel.ErrorCode errorCode, System.Exception exception, string sourceLocation) 340internal static EdmSchemaError CreateErrorForException(ModelBuilderErrorCode errorCode, System.Exception exception, string sourceLocation) 348internal static EdmSchemaError CreateErrorForException(ModelBuilderErrorCode errorCode, System.Exception exception) 355private void ThrowOnAnyNonWarningErrors(List<EdmSchemaError> errors) 357foreach (EdmSchemaError error in errors)
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
152private List<EdmSchemaError> _errors; 163public ClientApiGenerator(object sourceSchema, EdmItemCollection edmItemCollection, EntityClassGenerator generator, List<EdmSchemaError> errors, string namespacePrefix) 480foreach (EdmSchemaError error in _errors)
System\Data\EntityModel\EntityClassGenerator.cs (5)
157public IList<EdmSchemaError> GenerateCode(XmlReader sourceReader, string targetFilePath) 180public IList<EdmSchemaError> GenerateCode(XmlReader sourceReader, TextWriter targetWriter, string namespacePrefix) 568private IList<EdmSchemaError> GenerateCode(XmlReader sourceReader, LazyTextWriterCreator target, string namespacePrefix) 571List<EdmSchemaError> errors = new List<EdmSchemaError>();