System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (15)
125if (_usedViews.Count == 0 || _errorLog.Count > 0)
128Debug.Assert(_errorLog.Count > 0);
129ExceptionHelpers.ThrowMappingException(_errorLog, _config);
148_domainQuery, _context, _domainMap, _errorLog, _config);
159if (_errorLog.Count > 0)
161ExceptionHelpers.ThrowMappingException(_errorLog, _config);
408if (!ErrorPatternMatcher.FindMappingErrors(_context, _domainMap, _errorLog))
559if (!ErrorPatternMatcher.FindMappingErrors(_context, _domainMap, _errorLog))
576_errorLog.AddEntry(record);
583if (_errorLog.Count == 0)
627_errorLog.AddEntry(new ErrorLog.Record(true, ViewGenErrorCode.NoDefaultValue, builder.ToString(), _context.AllWrappersForExtent, String.Empty));
666EnsureConfigurationIsFullyMapped(_extentPath, BoolExpression.True, outputUsedViews, _errorLog);
667if (_errorLog.Count > 0)
669ExceptionHelpers.ThrowMappingException(_errorLog, _config);
724_errorLog.AddEntry(record);