5 instantiations of LeafCellTreeNode
System.Data.Entity (5)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
79LeafCellTreeNode cellNode = new LeafCellTreeNode(m_viewgenContext, cell);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
405node1 = new LeafCellTreeNode(m_viewgenContext, wrapper, temp.RightFragmentQuery);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
501usedCells.Select(wrapper => new LeafCellTreeNode(_context, wrapper)).ToArray()); 1189return new LeafCellTreeNode(context, leftCellWrapper);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
65CellTreeNode cQueryTree = new LeafCellTreeNode(_viewgenContext, wrapper);
56 references to LeafCellTreeNode
System.Data.Entity (56)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (11)
79LeafCellTreeNode cellNode = new LeafCellTreeNode(m_viewgenContext, cell); 124KeyToListMap<EntitySetBase, LeafCellTreeNode> extentMap = 125new KeyToListMap<EntitySetBase, LeafCellTreeNode>(EqualityComparer<EntitySetBase>.Default); 131foreach (LeafCellTreeNode childNode in rootNode.Children) 149foreach (LeafCellTreeNode childNode in extentMap.ListForKey(extent)) 307var extentMap = new KeyToListMap<EntitySet, LeafCellTreeNode>(EqualityComparer<EntitySet>.Default); 311var leaf = child as LeafCellTreeNode; 338foreach (var n in m.Value) 371System.Collections.ObjectModel.ReadOnlyCollection<LeafCellTreeNode> nodes; 462private static EntitySet GetLeafNodeTable(LeafCellTreeNode leaf)
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (24)
58if (rootNode is LeafCellTreeNode) 162Set<LeafCellTreeNode> commonGrandChildren = GetCommonGrandChildren(children); 185List<LeafCellTreeNode> newGrandChildren = new List<LeafCellTreeNode>(child.Children.Count); 186foreach (LeafCellTreeNode grandChild in child.Children) 196Helpers.AsSuperTypeList<LeafCellTreeNode, CellTreeNode>(newGrandChildren)); 207Helpers.AsSuperTypeList<LeafCellTreeNode, CellTreeNode>(commonGrandChildren)); 220private static Set<LeafCellTreeNode> GetCommonGrandChildren(List<CellTreeNode> nodes) 222Set<LeafCellTreeNode> commonLeaves = null; 250Set<LeafCellTreeNode> nodeChildrenSet = new Set<LeafCellTreeNode>(LeafCellTreeNode.EqualityComparer); 253LeafCellTreeNode leafGrandChild = grandChild as LeafCellTreeNode; 290LeafCellTreeNode leafNode = node as LeafCellTreeNode; 323LeafCellTreeNode leafNode = node as LeafCellTreeNode; 338LeafCellTreeNode firstNode = nodes[0] as LeafCellTreeNode; 363LeafCellTreeNode leaf1 = node1 as LeafCellTreeNode; 364LeafCellTreeNode leaf2 = node2 as LeafCellTreeNode;
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
500internal override bool VisitLeaf(LeafCellTreeNode node, bool dummy)
System\Data\Mapping\ViewGeneration\Structures\CellTreeNode.cs (1)
120internal IEnumerable<LeafCellTreeNode> GetLeafNodes()
System\Data\Mapping\ViewGeneration\Structures\CellTreeNodeVisitors.cs (14)
37internal abstract TOutput VisitLeaf(LeafCellTreeNode node, TInput param); 49internal abstract TOutput VisitLeaf(LeafCellTreeNode node, TInput param); 61internal override CellTreeNode VisitLeaf(LeafCellTreeNode node, TInput param) 122internal override CellTreeNode VisitLeaf(LeafCellTreeNode node, bool dummy) 177internal override CellTreeNode VisitLeaf(LeafCellTreeNode node, bool dummy) 222private class LeafVisitor : SimpleCellTreeVisitor<bool, IEnumerable<LeafCellTreeNode>> 227internal static IEnumerable<LeafCellTreeNode> GetLeaves(CellTreeNode node) 230return node.Accept<bool, IEnumerable<LeafCellTreeNode>>(visitor, true); 233internal override IEnumerable<LeafCellTreeNode> VisitLeaf(LeafCellTreeNode node, bool dummy) 238internal override IEnumerable<LeafCellTreeNode> VisitOpNode(OpCellTreeNode node, bool dummy) 242IEnumerable<LeafCellTreeNode> children = child.Accept<bool, IEnumerable<LeafCellTreeNode>>(this, dummy); 243foreach (LeafCellTreeNode leafNode in children)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (5)
49internal static readonly IEqualityComparer<LeafCellTreeNode> EqualityComparer = new LeafCellTreeNodeComparer(); 292private class LeafCellTreeNodeComparer : IEqualityComparer<LeafCellTreeNode> 295public bool Equals(LeafCellTreeNode left, LeafCellTreeNode right) 312public int GetHashCode(LeafCellTreeNode node)