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