48 references to Columns
System.Data.Entity (48)
System\Data\Query\InternalTrees\Command.cs (1)
485table.Columns.Add(c);
System\Data\Query\InternalTrees\Dump.cs (1)
580DumpVars(table.Columns);
System\Data\Query\InternalTrees\NodeInfo.cs (1)
519foreach (Var v in op.Table.Columns)
System\Data\Query\InternalTrees\OpCopier.cs (3)
155for (int i = 0; i < oldTable.Columns.Count; i++) 157SetMappedVar(oldTable.Columns[i], newTable.Columns[i]);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (2)
743PlanCompiler.Assert(op.Table.Columns.Count == 1, "Expected one column before NTE"); 744_groupAggregateVarInfoManager.Add(op.Table.Columns[0], groupAggregateVarRefInfo.GroupAggregateVarInfo, groupAggregateVarRefInfo.Computation, true);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (3)
1257for (int idx = 0; idx < targetTable.Columns.Count; idx++) 1259VarInfo colInfo = new VarInfo(targetTable.Columns[idx]); 1267outputVars.Add(new VarInfo(targetTable.Columns[0]));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (5)
316newVar = unnestOp.Table.Columns[0]; 692PlanCompiler.Assert(unnest.Table.Columns.Count == 1, "Unnest of collection ScalarOp produced unexpected number of columns (1 expected)"); 699_varMap[unnestNode] = unnest.Table.Columns[0]; 708Node varRefNode = _iqtCommand.CreateNode(_iqtCommand.CreateVarRefOp(unnest.Table.Columns[0])); 2151Var singleColumn = op.Table.Columns[0];
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
1591MarkTableAsEliminated<Var>(tableNode, replacementNode, tableNode.Table.Columns, replacementNode.Table.Columns);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
1802UpdateReplacementVarMap(op.Table.Columns, inputVars);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (12)
1156Var columnVar = op.Table.Columns[0]; 1186VarInfo varInfo = m_varInfoMap.CreateStructuredVarInfo(columnVar, newRowType, newTable.Columns, properties); 1210return (tableOp.Table.Columns.Count == 1) ? tableOp.Table.Columns[0] : null; 1230return unnestOp.Table.Columns.Count == 1 ? unnestOp.Table.Columns[0] : null; 1261PlanCompiler.Assert(op.Table.Columns.Count == 1, "table for scanViewOp has more than on column?"); 1262Var columnVar = op.Table.Columns[0]; 1377Var unnestTableColumnVar = op.Table.Columns[0]; 1385m_varInfoMap.CreatePrimitiveTypeVarInfo(unnestTableColumnVar, unnestOp.Table.Columns[0]); 1442n = CreateTVFProjection(n, newTable.Columns, typeInfo, out newVars); 1446newVars = newTable.Columns;
System\Data\Query\PlanCompiler\Normalizer.cs (2)
139PhysicalProjectOp projectOp = m_command.CreatePhysicalProjectOp(unnestOp.Table.Columns[0]); 184Var unnestOutputVar = unnestOp.Table.Columns[0];
System\Data\Query\PlanCompiler\PreProcessor.cs (7)
523Var branchVar = tableOp.Table.Columns[0]; 579Var tableVar = tableOp.Table.Columns[0]; 1663PlanCompiler.Assert(scanTableOp.Table.Columns.Count == 1, 1664"Unexpected column count for table:" + scanTableOp.Table.TableMetadata.Extent + "=" + scanTableOp.Table.Columns.Count); 1665Var scanTableVar = scanTableOp.Table.Columns[0]; 2279if (scanTableOp == null || scanTableOp.Table.Columns.Count != 1) 2287if (varRefOp == null || varRefOp.Var != scanTableOp.Table.Columns[0])
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
704PlanCompiler.Assert(op.Table.Columns.Count == 1, "ScanViewOp with multiple columns?"); 705Var columnVar = op.Table.Columns[0];
System\Data\Query\PlanCompiler\TransformationRules.cs (6)
3133return op.Table.Columns.Count; 3235if (op.Table.Columns.Contains(m_oldVar)) 3239for (int i = 0; i < op.Table.Columns.Count; i++) 3241AddMapping(op.Table.Columns[i], newScanTableOp.Table.Columns[i]); 4254var allInputColumns = sourceTable.Columns;