29 references to Keys
System.Data.Entity (29)
System\Data\Query\InternalTrees\Dump.cs (1)
258foreach (Var v in op.Keys) {
System\Data\Query\InternalTrees\NodeInfo.cs (4)
759nodeInfo.NonNullableDefinitions.And(op.Keys); 775nodeInfo.Keys.InitFrom(op.Keys); 778nodeInfo.MinRows = op.Keys.IsEmpty ? RowCount.One : (relOpChildNodeInfo.MinRows == RowCount.One ? RowCount.One : RowCount.Zero); 779nodeInfo.MaxRows = op.Keys.IsEmpty ? RowCount.One : relOpChildNodeInfo.MaxRows;
System\Data\Query\InternalTrees\OpCopier.cs (2)
815GroupByOp newGroupOp = m_destCmd.CreateGroupByOp(Copy(op.Keys), Copy(op.Outputs)); 833GroupByIntoOp newGroupOp = m_destCmd.CreateGroupByIntoOp(Copy(op.Keys), Copy(op.Inputs), Copy(op.Outputs));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1692foreach (Var keyVar in op.Keys)
System\Data\Query\PlanCompiler\NestPullup.cs (1)
740Command.CreateGroupByOp(op.Keys, groupByOutputs), n.Child0, n.Child1, n.Child2);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (4)
1075VarVec newKeys = FlattenVarSet(op.Keys); 1078if (newKeys != op.Keys || newOutputs != op.Outputs) 1103VarVec newKeys = FlattenVarSet(op.Keys); 1107if (newKeys != op.Keys || newInputs != op.Inputs || newOutputs != op.Outputs)
System\Data\Query\PlanCompiler\ProjectionPruner.cs (5)
492if (op.Keys.Count > 1) 494RemoveRedundantConstantKeys(op.Keys, op.Outputs, n.Child1); 497AddReference(op.Keys); // all keys are referenced 510if (op.Keys.Count == 0 && op.Outputs.Count == 0) 573result = m_command.CreateNode(m_command.CreateGroupByOp(newOp.Keys, newOp.Outputs),
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
631foreach (Var v in op.Keys)
System\Data\Query\PlanCompiler\TransformationRules.cs (8)
1721Node pushdownPredicate = GetPushdownPredicate(context.Command, filterNode, groupByOp.Keys, out nonPushdownPredicate); 3934groupByOp.Keys.Clear(varDefOp.Var); 3935groupByOp.Keys.Set(varRefOp.Var); 4181ProjectOp newOp = command.CreateProjectOp(op.Keys); 4190if (nodeInfo.Keys.NoKeys || !op.Keys.Subsumes(nodeInfo.Keys.KeyVars)) 4192newNode = command.CreateNode(command.CreateDistinctOp(command.CreateVarVec(op.Keys)), newNode); 4259if (!groupByOp.Keys.IsSet(column)) 4269groupByOp.Keys.Clear(column);
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
138return HasVarReferences(((GroupByOp)node.Op).Keys, vars);
System\Data\Query\PlanCompiler\VarRemapper.cs (1)
275Map(op.Keys);