59 references to Table
System.Data.Entity (59)
System\Data\Query\InternalTrees\Dump.cs (2)
447
DumpTable(op.
Table
);
455
DumpTable(op.
Table
);
System\Data\Query\InternalTrees\NodeInfo.cs (6)
486
nodeInfo.LocalDefinitions.Or(op.
Table
.ReferencedColumns);
487
nodeInfo.Definitions.Or(op.
Table
.ReferencedColumns);
490
if (op.
Table
.ReferencedColumns.Subsumes(op.
Table
.Keys))
492
nodeInfo.Keys.InitFrom(op.
Table
.Keys);
497
nodeInfo.NonNullableDefinitions.Or(op.
Table
.NonNullableColumns);
System\Data\Query\InternalTrees\OpCopier.cs (6)
676
ScanTableOp newScan = m_destCmd.CreateScanTableOp(op.
Table
.TableMetadata);
678
MapTable(newScan.
Table
, op.
Table
);
694
ScanViewOp newScan = m_destCmd.CreateScanViewOp(op.
Table
.TableMetadata);
696
MapTable(newScan.
Table
, op.
Table
);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (5)
1284
PlanCompiler.Assert(op.
Table
.TableMetadata.Extent != null, "Invalid TableMetadata used in ScanTableOp - no Extent specified");
1291
VarInfoList outputVars = GetTableVars(op.
Table
);
1294
DbExpression retExpr = op.
Table
.TableMetadata.Extent.Scan();
1842
if (scanTableOp.
Table
.ReferencedColumns.IsEmpty)
1848
relOpInfo = BuildProjection(joinInputNode, scanTableOp.
Table
.ReferencedColumns);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2151
Var singleColumn = op.
Table
.Columns[0];
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
189
m_table = scanTableOp.
Table
;
693
m_tableVertexMap[scanTableOp.
Table
] = (AugmentedTableNode)augmentedNode;
System\Data\Query\PlanCompiler\KeyPullup.cs (2)
121
op.
Table
.ReferencedColumns.Or(op.
Table
.Keys);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (6)
1156
Var columnVar = op.
Table
.Columns[0];
1183
TableMD newTableMD = m_command.CreateFlatTableDefinition(properties, keyProperties, op.
Table
.TableMetadata.Extent);
1210
return (tableOp.
Table
.Columns.Count == 1) ? tableOp.
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];
System\Data\Query\PlanCompiler\PreProcessor.cs (18)
308
EntitySetBase entitySet = scanTableOp.
Table
.TableMetadata.Extent;
332
EntityTypeBase requiredType = scanTableOp.
Table
.TableMetadata.Extent.ElementType;
390
ScanViewOp scanViewOp = m_command.CreateScanViewOp(scanTableOp.
Table
);
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];
2072
EntitySet entitySet = op.
Table
.TableMetadata.Extent as EntitySet;
2079
TypeUsage elementType = TypeUsage.Create(op.
Table
.TableMetadata.Extent.ElementType);
2111
PlanCompiler.Assert(scanTableOp.
Table
.TableMetadata.Extent != null, "ScanTableOp must reference a table with an extent");
2119
if (scanTableOp.
Table
.TableMetadata.Extent.EntityContainer.DataSpace == DataSpace.SSpace)
2156
if (op.
Table
.TableMetadata.Extent.BuiltInTypeKind == BuiltInTypeKind.EntitySet)
2158
m_entityTypeScopes.Push((EntitySet)op.
Table
.TableMetadata.Extent);
2171
PlanCompiler.Assert(scope == op.
Table
.TableMetadata.Extent, "m_entityTypeScopes stack is broken");
2279
if (scanTableOp == null || scanTableOp.
Table
.Columns.Count != 1)
2287
if (varRefOp == null || varRefOp.Var != scanTableOp.
Table
.Columns[0])
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
656
op.
Table
.ReferencedColumns.And(m_referencedVars);
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 (8)
3133
return op.
Table
.Columns.Count;
3235
if (op.
Table
.Columns.Contains(m_oldVar))
3237
ScanTableOp newScanTableOp = m_command.CreateScanTableOp(op.
Table
.TableMetadata);
3239
for (int i = 0; i < op.
Table
.Columns.Count; i++)
3241
AddMapping(op.
Table
.Columns[i], newScanTableOp.
Table
.Columns[i]);
4253
var sourceTable = ((ScanTableOp)n.Child0.Op).
Table
;
4288
var leftKeys = scanTableOp.
Table
.Keys.GetEnumerator();