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