47 references to ViewGenErrorCode
System.Data.Entity (47)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
663
m_errorLog.AddEntry(new ErrorLog.Record(true,
ViewGenErrorCode
.DisjointConstraintViolation,
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (5)
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));
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 (5)
101
ReportConstraintViolation(message, unsatisfiedConstraint,
ViewGenErrorCode
.PartitionConstraintViolation,
171
private void ReportConstraintViolation(string message, BoolExpression extraConstraint,
ViewGenErrorCode
errorCode, IEnumerable<LeftCellWrapper> relevantWrappers)
268
ReportConstraintViolation(memberLossMessage, unsatisfiedConstraint,
ViewGenErrorCode
.DomainConstraintViolation,
363
_errorLog.AddEntry(new ErrorLog.Record(true,
ViewGenErrorCode
.NullableMappingForNonNullableColumn, Strings.Viewgen_NullableMappingForNonNullableColumn(wrapper.LeftExtent.ToString(), column.ToFullString()), wrapper.Cells, ""));
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);
459
Func<object, object, object, string> formatAssociationSetMessage,
ViewGenErrorCode
errorCode)
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 (5)
104
internal Record(bool isError,
ViewGenErrorCode
errorCode, string message,
112
internal Record(bool isError,
ViewGenErrorCode
errorCode, string message, Cell sourceCell, string debugMessage)
117
internal Record(bool isError,
ViewGenErrorCode
errorCode, string message, IEnumerable<Cell> sourceCells,
132
private void Init(bool isError,
ViewGenErrorCode
errorCode, string message,
195
List<Cell> sourceCells, string sourceLocation,
ViewGenErrorCode
errorCode,
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\Structures\OpCellTreeNode.cs (1)
399
errorLog.AddEntry(new ErrorLog.Record(true,
ViewGenErrorCode
.NoJoinKeyOrFKProvidedInMapping,
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (9)
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 (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\Validator.cs (3)
297
ErrorLog.Record record = new ErrorLog.Record(true,
ViewGenErrorCode
.MultipleFragmentsBetweenCandSExtentWithDistinct,
336
Strings.ViewGen_AssociationSetKey_Missing,
ViewGenErrorCode
.KeyNotMappedForCSideExtent);
343
error = cell.SQuery.VerifyKeysPresent(cell, Strings.ViewGen_TableKey_Missing, null,
ViewGenErrorCode
.KeyNotMappedForTable);
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)
283
EdmSchemaError edmSchemaError = new EdmSchemaError(message, (int)
ViewGenErrorCode
.MissingExtentMapping,