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