1 write to _viewgenContext
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
39
_viewgenContext
= context;
26 references to _viewgenContext
System.Data.Entity (26)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (26)
41
_domainMap =
_viewgenContext
.MemberMaps.UpdateDomainMap;
42
_keyAttributes = MemberPath.GetKeyMembers(
_viewgenContext
.Extent, _domainMap);
61
foreach (LeftCellWrapper wrapper in
_viewgenContext
.AllWrappersForExtent)
65
CellTreeNode cQueryTree = new LeafCellTreeNode(
_viewgenContext
, wrapper);
78
sQueryTree = new OpCellTreeNode(
_viewgenContext
, CellTreeOpType.IJ, complementSQueryTreeForCondition, _basicView);
87
BoolExpression inExtentCondition = BoolExpression.CreateLiteral(wrapper.CreateRoleBoolean(),
_viewgenContext
.MemberMaps.QueryDomainMap);
93
string extentName = StringUtil.FormatInvariant("{0}",
_viewgenContext
.Extent);
111
DomainConstraintVisitor.CheckConstraints(plainSQueryTreeForCondition, wrapper,
_viewgenContext
, _errorLog);
129
ExceptionHelpers.ThrowMappingException(_errorLog,
_viewgenContext
.Config);
139
FragmentQuery cMinusSx =
_viewgenContext
.RightFragmentQP.Difference(cQuery, sQuery);
140
FragmentQuery sMinusCx =
_viewgenContext
.RightFragmentQP.Difference(sQuery, cQuery);
150
if (
_viewgenContext
.RightFragmentQP.IsSatisfiable(cMinusS))
155
if (
_viewgenContext
.RightFragmentQP.IsSatisfiable(sMinusC))
173
if (ErrorPatternMatcher.FindMappingErrors(
_viewgenContext
, _domainMap, _errorLog))
195
foreach (MemberPath column in _domainMap.ConditionMembers(
_viewgenContext
.Extent))
200
OpCellTreeNode memberCover = new OpCellTreeNode(
_viewgenContext
, CellTreeOpType.Union);
207
if (
_viewgenContext
.TryGetCachedRewriting(memberConditionQuery, out rewriting))
210
CellTreeNode cellTreeNode = QueryRewriter.TileToCellTree(rewriting,
_viewgenContext
);
228
memberValueTrees[lastMemberValue] = new OpCellTreeNode(
_viewgenContext
, CellTreeOpType.LASJ, _basicView, memberCover);
244
foreach (MemberPath column in _domainMap.ConditionMembers(
_viewgenContext
.Extent))
247
int index =
_viewgenContext
.MemberMaps.ProjectedSlotMap.IndexOf(column);
257
domainValue, column,
_viewgenContext
.MemberMaps);
261
new OpCellTreeNode(
_viewgenContext
, CellTreeOpType.IJ, sQueryTreeForDomainValue, sQueryTree);
353
foreach (MemberPath column in _domainMap.NonConditionMembers(
_viewgenContext
.Extent))
359
FragmentQuery cFragment = AddNullConditionOnCSideFragment(wrapper, column,
_viewgenContext
.MemberMaps);
361
if (cFragment != null &&
_viewgenContext
.RightFragmentQP.IsSatisfiable(cFragment))