22 references to Count
System.Data.Entity (22)
System\Data\Query\InternalTrees\Dump.cs (1)
331
if (0 != ci.Keys.
Count
) {
System\Data\Query\InternalTrees\NodeInfo.cs (1)
526
if (n.Child0.Op.OpType == OpType.VarDef && n.Child0.Child0.Op.OpType == OpType.Function && op.Table.Keys.
Count
> 0)
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
903
PlanCompiler.Assert(definingGroupOp.Inputs.
Count
== 1, "There should be one input var to GroupByInto at this stage");
System\Data\Query\PlanCompiler\NestPullup.cs (3)
367
if (newOutputs.
Count
> 1)
2245
parentKeyColumnMaps = new SimpleColumnMap[parentKeys.
Count
];
2301
SimpleColumnMap[] keyColumnMaps = new SimpleColumnMap[newCollectionInfo.Keys.
Count
];
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (3)
1205
return (projectOp.Outputs.
Count
== 1) ? projectOp.Outputs.First : null;
1224
return (setOp.Outputs.
Count
== 1) ? setOp.Outputs.First : null;
1236
return (distinctOp.Keys.
Count
== 1) ? distinctOp.Keys.First : null;
System\Data\Query\PlanCompiler\Predicate.cs (1)
213
if (keyVars.
Count
> 0)
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1093
PlanCompiler.Assert(projectOp.Outputs.
Count
== 1, "input to ElementOp has more than one output var?");
System\Data\Query\PlanCompiler\ProjectionPruner.cs (5)
420
if (op.Keys.
Count
> 1 && n.Child0.Op.OpType == OpType.Project)
492
if (op.Keys.
Count
> 1)
510
if (op.Keys.
Count
== 0 && op.Outputs.
Count
== 0)
547
if (keyVec.
Count
== 0)
System\Data\Query\PlanCompiler\TransformationRules.cs (6)
2975
if (applyRightChildNodeInfo.Definitions.
Count
!= 1)
3075
return op.Outputs.
Count
;
3088
return op.Keys.
Count
;
3110
return op.Outputs.
Count
;
3121
return op.Outputs.
Count
;
4290
for (int i = 0; i < sourceTable.Keys.
Count
; ++i)