21 references to One
System.Data.Entity (21)
System\Data\Query\InternalTrees\NodeInfo.cs (15)
778nodeInfo.MinRows = op.Keys.IsEmpty ? RowCount.One : (relOpChildNodeInfo.MinRows == RowCount.One ? RowCount.One : RowCount.Zero); 779nodeInfo.MaxRows = op.Keys.IsEmpty ? RowCount.One : relOpChildNodeInfo.MaxRows; 809RowCount minCard = RowCount.One; 909if ((leftRelOpNodeInfo.MaxRows > RowCount.One) || 910(rightRelOpNodeInfo.MaxRows > RowCount.One)) 916maxRows = RowCount.One; 979if (leftRelOpNodeInfo.MaxRows <= RowCount.One && 980rightRelOpNodeInfo.MaxRows <= RowCount.One) 982maxRows = RowCount.One; 1163nodeInfo.SetRowCount(RowCount.Zero, RowCount.One); 1236nodeInfo.SetRowCount(RowCount.Zero, RowCount.One); 1253nodeInfo.SetRowCount(RowCount.One, RowCount.One);
System\Data\Query\PlanCompiler\TransformationRules.cs (6)
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; 4352if (nodeInfo.MaxRows == RowCount.Zero || nodeInfo.MaxRows == RowCount.One)