55 references to RowCount
System.Data.Entity (55)
System\Data\Query\InternalTrees\NodeInfo.cs (45)
225private RowCount m_minRows; 226private RowCount m_maxRows; 238m_minRows = RowCount.Zero; 239m_maxRows = RowCount.Unbounded; 253m_minRows = RowCount.Zero; 254m_maxRows = RowCount.Unbounded; 293internal RowCount MinRows 301internal RowCount MaxRows 312internal void SetRowCount(RowCount minRows, RowCount maxRows) 702nodeInfo.MinRows = RowCount.Zero; 708nodeInfo.MaxRows = RowCount.Zero; 778nodeInfo.MinRows = op.Keys.IsEmpty ? RowCount.One : (relOpChildNodeInfo.MinRows == RowCount.One ? RowCount.One : RowCount.Zero); 779nodeInfo.MaxRows = op.Keys.IsEmpty ? RowCount.One : relOpChildNodeInfo.MaxRows; 808RowCount maxCard = RowCount.Zero; 809RowCount minCard = RowCount.One; 900RowCount maxRows; 901RowCount minRows; 904minRows = RowCount.Zero; 905maxRows = RowCount.Unbounded; 909if ((leftRelOpNodeInfo.MaxRows > RowCount.One) || 910(rightRelOpNodeInfo.MaxRows > RowCount.One)) 912maxRows = RowCount.Unbounded; 916maxRows = RowCount.One; 925minRows = RowCount.Zero; 978RowCount maxRows; 979if (leftRelOpNodeInfo.MaxRows <= RowCount.One && 980rightRelOpNodeInfo.MaxRows <= RowCount.One) 982maxRows = RowCount.One; 986maxRows = RowCount.Unbounded; 988RowCount minRows = (op.OpType == OpType.CrossApply) ? RowCount.Zero : leftRelOpNodeInfo.MinRows; 1022RowCount minRows = RowCount.Zero; 1163nodeInfo.SetRowCount(RowCount.Zero, RowCount.One); 1236nodeInfo.SetRowCount(RowCount.Zero, RowCount.One); 1253nodeInfo.SetRowCount(RowCount.One, RowCount.One);
System\Data\Query\PlanCompiler\TransformationRules.cs (10)
2843applyRightChildNodeInfo.MinRows >= RowCount.One) 2981if (applyRightChildNodeInfo.MaxRows != RowCount.One) 2987if (applyKind == OpType.CrossApply && (applyRightChildNodeInfo.MinRows != RowCount.One)) 3712if (childNodeInfo.MaxRows <= RowCount.One) 3727childNodeInfo.MaxRows = RowCount.One; 3814bool leftChildIsEmptySet = context.Command.GetExtendedNodeInfo(setOpNode.Child0).MaxRows == RowCount.Zero; 3815bool rightChildIsEmptySet = context.Command.GetExtendedNodeInfo(setOpNode.Child1).MaxRows == RowCount.Zero; 4352if (nodeInfo.MaxRows == RowCount.Zero || nodeInfo.MaxRows == RowCount.One) 4391if (nodeInfo.MaxRows == RowCount.Zero)