13 references to ViewgenContext
System.Data.Entity (13)
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
42
CellTreeSimplifier simplifier = new CellTreeSimplifier(rootNode.
ViewgenContext
);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
396
_viewgenContext = topLevelTree.
ViewgenContext
;
System\Data\Mapping\ViewGeneration\Structures\CellTreeNodeVisitors.cs (3)
98
return new OpCellTreeNode(node.
ViewgenContext
, node.OpType, newChildren);
148
OpCellTreeNode result = new OpCellTreeNode(node.
ViewgenContext
, node.OpType, flattenedChildren);
213
OpCellTreeNode result = new OpCellTreeNode(node.
ViewgenContext
, node.OpType, finalChildren);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (2)
149
ConstantProjectedSlot defaultValue = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(),
ViewgenContext
.Config), memberPath);
184
this.
ViewgenContext
.EntityContainerMapping.GetRelationshipSetMappingsFor(this.m_cellWrapper.LeftExtent, cellQuery.Extent);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (6)
76
m_leftFragmentQuery = GenerateFragmentQuery(Children, true /*isLeft*/,
ViewgenContext
, OpType);
88
m_rightFragmentQuery = GenerateFragmentQuery(Children, false /*isLeft*/,
ViewgenContext
, OpType);
389
if (
ViewgenContext
.Config.IsValidationEnabled)
400
Strings.Viewgen_NoJoinKeyOrFK,
ViewgenContext
.AllWrappersForExtent, String.Empty));
401
ExceptionHelpers.ThrowMappingException(errorLog,
ViewgenContext
.Config);
505
slot = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(),
ViewgenContext
.Config), memberPath);