28 instantiations of Record
System.Data.Entity (28)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
663
m_errorLog.AddEntry(new ErrorLog.
Record
(true, ViewGenErrorCode.DisjointConstraintViolation,
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
425
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty);
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));
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
187
_errorLog.AddEntry(new ErrorLog.
Record
(true, errorCode, builder.ToString(), relevantCellWrappers, ""));
532
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.NonKeyProjectedWithOverlappingPartitions, message,
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (3)
269
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.DuplicateCPropertiesMapped, builder.ToString(), sourceCell, String.Empty);
369
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.NotNullNoProjectedSlot, builder.ToString(), sourceCell, String.Empty);
514
ErrorLog.Record error = new ErrorLog.
Record
(true, errorCode, message, ownerCell, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
204
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.NoDefaultValue, message, wrappersForErrorReporting, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
123
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.InvalidCondition, message, cell, String.Empty);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (3)
416
m_errorLog.AddEntry(new ErrorLog.
Record
(true, ViewGenErrorCode.ErrorPatternInvalidPartitionError, errorString.ToString(), ToIEnum(fragment1.OnlyInputCell, fragment2.OnlyInputCell), ""));
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), ""));
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (8)
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);
243
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.ForeignKeyNotGuaranteedInCSpace, message, allWrappers, String.Empty);
339
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.ForeignKeyMissingRelationshipMapping, message, bothExtentWrappers, String.Empty);
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);
518
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.ForeignKeyParentTableNotMappedToEnd, message, cell, String.Empty);
782
ErrorLog.Record record = new ErrorLog.
Record
(true, ViewGenErrorCode.ForeignKeyColumnOrderIncorrect, message, new Cell[] { errorParentCell, childCell }, String.Empty);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
131
return new ErrorLog.
Record
(true, ViewGenErrorCode.KeyConstraintViolation, message, rightKeyConstraint.CellRelation.Cell, debugMessage);
187
return new ErrorLog.
Record
(true, ViewGenErrorCode.KeyConstraintUpdateViolation, message, rightKeyConstraint.CellRelation.Cell, debugMessage);
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (2)
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\ViewgenGatekeeper.cs (1)
286
ErrorLog.Record record = new ErrorLog.
Record
(edmSchemaError);
42 references to Record
System.Data.Entity (42)
System\Data\InternalMappingException.cs (1)
71
internal InternalMappingException(string message, ErrorLog.
Record
record)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
425
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty);
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);
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 (1)
532
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.NonKeyProjectedWithOverlappingPartitions, message,
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (6)
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 (1)
204
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.NoDefaultValue, message, wrappersForErrorReporting, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (7)
28
m_log = new List<
Record
>();
33
private List<
Record
> m_log;
47
foreach (
Record
record in m_log)
56
internal void AddEntry(
Record
record)
64
foreach (
Record
record in log.m_log)
79
foreach (
Record
record in m_log)
88
foreach (
Record
record in m_log)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
123
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.InvalidCondition, message, cell, String.Empty);
System\Data\Mapping\ViewGeneration\Utils\ExceptionHelpers.cs (1)
21
internal static void ThrowMappingException(ErrorLog.
Record
errorRecord, ConfigViewGenerator config)
System\Data\Mapping\ViewGeneration\Validation\ConstraintBase.cs (1)
36
internal abstract ErrorLog.
Record
GetErrorRecord();
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (12)
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);
243
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyNotGuaranteedInCSpace, message, allWrappers, String.Empty);
269
List<ErrorLog.
Record
> errorListForInvalidParentColumnsForForeignKey = null;
322
foreach (
var
errorRecord in errorListForInvalidParentColumnsForForeignKey)
339
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyMissingRelationshipMapping, message, bothExtentWrappers, String.Empty);
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);
782
ErrorLog.
Record
record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyColumnOrderIncorrect, message, new Cell[] { errorParentCell, childCell }, String.Empty);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
102
internal static ErrorLog.
Record
GetErrorRecord(ViewKeyConstraint rightKeyConstraint)
137
internal static ErrorLog.
Record
GetErrorRecord(IEnumerable<ViewKeyConstraint> rightKeyConstraints)
System\Data\Mapping\ViewGeneration\Validator.cs (2)
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 (2)
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\ViewgenGatekeeper.cs (1)
286
ErrorLog.
Record
record = new ErrorLog.Record(edmSchemaError);