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