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