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