32 references to TableMetadata
System.Data.Entity (32)
System\Data\Query\InternalTrees\Dump.cs (2)
575
if (null != table.
TableMetadata
.Extent) {
576
attrs.Add("Extent", table.
TableMetadata
.Extent.Name);
System\Data\Query\InternalTrees\OpCopier.cs (3)
676
ScanTableOp newScan = m_destCmd.CreateScanTableOp(op.Table.
TableMetadata
);
694
ScanViewOp newScan = m_destCmd.CreateScanViewOp(op.Table.
TableMetadata
);
719
Table newTable = m_destCmd.CreateTableInstance(op.Table.
TableMetadata
);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (4)
1251
if (targetTable.
TableMetadata
.Flattened)
1260
colInfo.PrependProperty(targetTable.
TableMetadata
.Columns[idx].Name);
1284
PlanCompiler.Assert(op.Table.
TableMetadata
.Extent != null, "Invalid TableMetadata used in ScanTableOp - no Extent specified");
1294
DbExpression retExpr = op.Table.
TableMetadata
.Extent.Scan();
System\Data\Query\PlanCompiler\JoinGraph.cs (10)
1267
if (m_constraintManager.IsParentChildRelationship(joinEdge.Right.Table.
TableMetadata
.Extent, joinEdge.Left.Table.
TableMetadata
.Extent, out fkConstraints))
1753
if (!groupedEdges.TryGetValue(joinEdge.Right.Table.
TableMetadata
.Extent, out edges))
1756
groupedEdges[joinEdge.Right.Table.
TableMetadata
.Extent] = edges;
1789
if (!joinEdge.Left.Table.
TableMetadata
.Extent.Equals(joinEdge.Right.Table.
TableMetadata
.Extent))
2203
if (m_constraintManager.IsParentChildRelationship(joinEdge.Left.Table.
TableMetadata
.Extent, joinEdge.Right.Table.
TableMetadata
.Extent,
2223
if (m_constraintManager.IsParentChildRelationship(joinEdge.Right.Table.
TableMetadata
.Extent, joinEdge.Left.Table.
TableMetadata
.Extent,
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1183
TableMD newTableMD = m_command.CreateFlatTableDefinition(properties, keyProperties, op.Table.
TableMetadata
.Extent);
System\Data\Query\PlanCompiler\PreProcessor.cs (10)
308
EntitySetBase entitySet = scanTableOp.Table.
TableMetadata
.Extent;
332
EntityTypeBase requiredType = scanTableOp.Table.
TableMetadata
.Extent.ElementType;
1664
"Unexpected column count for table:" + scanTableOp.Table.
TableMetadata
.Extent + "=" + scanTableOp.Table.Columns.Count);
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");
System\Data\Query\PlanCompiler\TransformationRules.cs (2)
3237
ScanTableOp newScanTableOp = m_command.CreateScanTableOp(op.Table.
TableMetadata
);
4275
var scanTableOp = command.CreateScanTableOp(sourceTable.
TableMetadata
);