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