20 references to MetadataWorkspace
System.Data.Entity (20)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (2)
46
ViewSimplifier vs = new ViewSimplifier(view.
MetadataWorkspace
, extent);
79
view = DbQueryCommandTree.FromValidExpression(view.
MetadataWorkspace
, view.DataSpace, queryExpression);
System\Data\Common\DbProviderServices.cs (1)
44
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.
MetadataWorkspace
.GetItemCollection(DataSpace.SSpace);
System\Data\EntityClient\EntityCommand.cs (1)
752
if (!_preparedCommandTree.
MetadataWorkspace
.IsMetadataWorkspaceCSCompatible(this.Connection.GetMetadataWorkspace()))
System\Data\EntityClient\EntityCommandDefinition.cs (4)
99
TypeUsage storeResultType = DetermineStoreResultType(entityCommandTree.
MetadataWorkspace
, mapping, 0, out _columnMapGenerators[0]);
102
DetermineStoreResultType(entityCommandTree.
MetadataWorkspace
, mapping, i, out _columnMapGenerators[i]);
113
DbFunctionCommandTree providerCommandTree = new DbFunctionCommandTree(entityCommandTree.
MetadataWorkspace
, DataSpace.SSpace,
249
if (!functionCommandTree.
MetadataWorkspace
.TryGetFunctionImportMapping(functionCommandTree.EdmFunction, out targetFunctionMapping))
System\Data\EntityClient\EntityProviderServices.cs (1)
39
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.
MetadataWorkspace
.GetItemCollection(DataSpace.SSpace);
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
211
result = new DbInsertCommandTree(insertTree.
MetadataWorkspace
, insertTree.DataSpace,
217
result = new DbUpdateCommandTree(updateTree.
MetadataWorkspace
, updateTree.DataSpace,
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
60
tree = DbQueryCommandTree.FromValidExpression(tree.
MetadataWorkspace
, tree.DataSpace, spannedQuery);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
99
internal MetadataWorkspace Metadata { get { return _tree.
MetadataWorkspace
; } }
605
foreach (AssociationType association in _tree.
MetadataWorkspace
.GetItems<AssociationType>(DataSpace.CSpace))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
265
_iqtCommand = new Command(ctree.
MetadataWorkspace
);
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
234
internal md.MetadataWorkspace MetadataWorkspace { get { return m_ctree.
MetadataWorkspace
; } }
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (2)
50
Sql8ExpressionRewriter rewriter = new Sql8ExpressionRewriter(originalTree.
MetadataWorkspace
);
52
return DbQueryCommandTree.FromValidExpression(originalTree.
MetadataWorkspace
, originalTree.DataSpace, newQuery);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
509
this.metadataWorkspace = targetTree.
MetadataWorkspace
;
System\Data\SqlClient\SqlProviderServices.cs (1)
72
StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.
MetadataWorkspace
.GetItemCollection(DataSpace.SSpace);