11 instantiations of ErrorLog
System.Data.Entity (11)
System\Data\InternalMappingException.cs (1)
74
m_errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
64
ErrorLog _errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
43
_errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
398
ErrorLog errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\Validator.cs (1)
39
m_errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (2)
247
ErrorLog errorLog = new
ErrorLog
();
293
ErrorLog errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (3)
119
ErrorLog groupErrorLog = new
ErrorLog
();
186
ErrorLog groupErrorLog = new
ErrorLog
();
254
ErrorLog errorLog = new
ErrorLog
();
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (1)
29
m_errorLog = new
ErrorLog
();
115 references to ErrorLog
System.Data.Entity (115)
System\Data\InternalMappingException.cs (4)
65
internal InternalMappingException(string message,
ErrorLog
errorLog) : base(message) {
71
internal InternalMappingException(string message,
ErrorLog
.Record record)
82
private
ErrorLog
m_errorLog;
89
internal
ErrorLog
ErrorLog {
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
35
ViewgenContext context, MemberDomainMap domainMap,
ErrorLog
errorLog, ConfigViewGenerator config)
55
private
ErrorLog
m_errorLog;
663
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.DisjointConstraintViolation,
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (12)
64
ErrorLog
_errorLog = new ErrorLog();
389
ErrorLog
errorLog)
425
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty);
480
private void AddUnrecoverableAttributesError(IEnumerable<MemberPath> attributes, BoolExpression domainAddedWhereClause,
ErrorLog
errorLog)
488
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.AttributesUnrecoverable, builder.ToString(), _context.AllWrappersForExtent, String.Empty);
575
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty);
627
_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.NoDefaultValue, builder.ToString(), _context.AllWrappersForExtent, String.Empty));
723
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ImpopssibleCondition, Strings.Viewgen_QV_RewritingNotFound(fragment.RightExtent.ToString()), fragment.Cells, String.Empty);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (8)
35
private
ErrorLog
_errorLog;
187
_errorLog.AddEntry(new
ErrorLog
.Record(true, errorCode, builder.ToString(), relevantCellWrappers, ""));
363
_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.NullableMappingForNonNullableColumn, Strings.Viewgen_NullableMappingForNonNullableColumn(wrapper.LeftExtent.ToString(), column.ToFullString()), wrapper.Cells, ""));
484
ErrorLog
m_errorLog;
486
private DomainConstraintVisitor(LeftCellWrapper wrapper, ViewgenContext context,
ErrorLog
errorLog)
494
ViewgenContext context,
ErrorLog
errorLog)
532
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.NonKeyProjectedWithOverlappingPartitions, message,
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (9)
206
internal
ErrorLog
.Record CheckForDuplicateFields(CellQuery cQuery, Cell sourceCell)
269
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.DuplicateCPropertiesMapped, builder.ToString(), sourceCell, String.Empty);
317
internal
ErrorLog
.Record CheckForProjectedNotNullSlots(Cell sourceCell, IEnumerable<Cell> associationSets)
369
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.NotNullNoProjectedSlot, builder.ToString(), sourceCell, String.Empty);
458
internal
ErrorLog
.Record VerifyKeysPresent(Cell ownerCell, Func<object, object, string> formatEntitySetMessage,
514
ErrorLog
.Record error = new
ErrorLog
.Record(true, errorCode, message, ownerCell, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (2)
204
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.NoDefaultValue, message, wrappersForErrorReporting, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (1)
62
internal void Merge(
ErrorLog
log)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
123
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.InvalidCondition, message, cell, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
398
ErrorLog
errorLog = new ErrorLog();
399
errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.NoJoinKeyOrFKProvidedInMapping,
System\Data\Mapping\ViewGeneration\Utils\ExceptionHelpers.cs (2)
21
internal static void ThrowMappingException(
ErrorLog
.Record errorRecord, ConfigViewGenerator config)
31
internal static void ThrowMappingException(
ErrorLog
errorLog, ConfigViewGenerator config)
System\Data\Mapping\ViewGeneration\Validation\ConstraintBase.cs (1)
36
internal abstract
ErrorLog
.Record GetErrorRecord();
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (12)
32
private
ErrorLog
m_errorLog;
38
private ErrorPatternMatcher(ViewgenContext context, MemberDomainMap domainMap,
ErrorLog
errorLog)
47
public static bool FindMappingErrors(ViewgenContext context, MemberDomainMap domainMap,
ErrorLog
errorLog)
115
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternMissingMappingError,
231
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternConditionError,
264
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternConditionError,
323
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternSplittingError,
416
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternInvalidPartitionError, errorString.ToString(), ToIEnum(fragment1.OnlyInputCell, fragment2.OnlyInputCell), ""));
492
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternConditionError,
526
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternInvalidPartitionError, errorString.ToString(), ToIEnum(fragment1.OnlyInputCell, fragment2.OnlyInputCell), ""));
583
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternInvalidPartitionError, errorString.ToString(), ToIEnum(fragment1.OnlyInputCell, fragment2.OnlyInputCell), ""));
650
m_errorLog.AddEntry(new
ErrorLog
.Record(true, ViewGenErrorCode.ErrorPatternConditionError, Strings.Viewgen_ErrorPattern_ConditionMemberIsMapped(conditionMember.ToString()), anotherCell, ""));
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (25)
133
ErrorLog
errorLog, ConfigViewGenerator config)
167
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyMissingTableMapping, message, parentRewriter.UsedCells, String.Empty);
177
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyMissingTableMapping, message, childRewriter.UsedCells, String.Empty);
223
ErrorLog
errorLog, ConfigViewGenerator config)
243
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyNotGuaranteedInCSpace, message, allWrappers, String.Empty);
256
ErrorLog
errorLog, ConfigViewGenerator config)
269
List<
ErrorLog
.Record> errorListForInvalidParentColumnsForForeignKey = null;
339
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyMissingRelationshipMapping, message, bothExtentWrappers, String.Empty);
345
Set<Cell> cells,
ErrorLog
errorLog)
451
private bool CheckConstraintWhenParentChildMapped(Cell cell,
ErrorLog
errorLog,
467
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyUpperBoundMustBeOne, message, cell, String.Empty);
478
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyLowerBoundMustBeOne, message, cell, String.Empty);
494
private bool CheckParentColumnsForForeignKey(Cell cell, IEnumerable<Cell> cells, AssociationEndMember parentEnd, ref List<
ErrorLog
.Record> errorList)
510
errorList = new List<
ErrorLog
.Record>();
518
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyParentTableNotMappedToEnd, message, cell, String.Empty);
640
private bool CheckForeignKeyColumnOrder(Set<Cell> cells,
ErrorLog
errorLog)
782
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ForeignKeyColumnOrderIncorrect, message, new Cell[] { errorParentCell, childCell }, String.Empty);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (4)
102
internal static
ErrorLog
.Record GetErrorRecord(ViewKeyConstraint rightKeyConstraint)
131
return new
ErrorLog
.Record(true, ViewGenErrorCode.KeyConstraintViolation, message, rightKeyConstraint.CellRelation.Cell, debugMessage);
137
internal static
ErrorLog
.Record GetErrorRecord(IEnumerable<ViewKeyConstraint> rightKeyConstraints)
187
return new
ErrorLog
.Record(true, ViewGenErrorCode.KeyConstraintUpdateViolation, message, rightKeyConstraint.CellRelation.Cell, debugMessage);
System\Data\Mapping\ViewGeneration\Validator.cs (5)
46
private
ErrorLog
m_errorLog; // Keeps track of errors for this set of cells
54
internal
ErrorLog
Validate()
297
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.MultipleFragmentsBetweenCandSExtentWithDistinct,
327
ErrorLog
.Record error = cell.SQuery.CheckForDuplicateFields(cell.CQuery, cell);
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (4)
259
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ConcurrencyDerivedClass, message, m_cellWrappers, String.Empty);
278
ErrorLog
.Record record = new
ErrorLog
.Record(true, ViewGenErrorCode.ConcurrencyTokenHasCondition, builder.ToString(), new LeftCellWrapper[] { wrapper }, String.Empty);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (9)
106
internal
ErrorLog
GenerateAllBidirectionalViews(ViewSet views, CqlIdentifiers identifiers)
123
ErrorLog
errorLog = validator.Validate();
168
internal
ErrorLog
GenerateQueryViewForSingleExtent(ViewSet views, CqlIdentifiers identifiers, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode)
182
ErrorLog
errorLog = validator.Validate();
242
private
ErrorLog
GenerateQueryViewForExtentAndType(StorageEntityContainerMapping entityContainerMapping, CqlIdentifiers identifiers, ViewSet views, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode)
247
ErrorLog
errorLog = new ErrorLog();
285
private
ErrorLog
GenerateDirectionalViews(ViewTarget viewTarget, CqlIdentifiers identifiers, ViewSet views)
293
ErrorLog
errorLog = new ErrorLog();
477
private void CheckForeignKeyConstraints(
ErrorLog
errorLog)
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (8)
102
ErrorLog
tmpLog = EnsureAllCSpaceContainerSetsAreMapped(cells, config, containerMapping);
119
ErrorLog
groupErrorLog = new ErrorLog();
171
ErrorLog
tmpLog = EnsureAllCSpaceContainerSetsAreMapped(cells, config, containerMapping);
186
ErrorLog
groupErrorLog = new ErrorLog();
220
private static
ErrorLog
EnsureAllCSpaceContainerSetsAreMapped(IEnumerable<Cell> cells,
254
ErrorLog
errorLog = new ErrorLog();
286
ErrorLog
.Record record = new
ErrorLog
.Record(edmSchemaError);
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (2)
35
private
ErrorLog
m_errorLog;
71
internal void AddErrors(
ErrorLog
errorLog)