18 references to MetadataWorkspace
System.Data.Entity (18)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
246
DbQueryCommandTree.FromValidExpression(sr.TypeResolver.Perspective.
MetadataWorkspace
, sr.TypeResolver.Perspective.TargetDataspace, converted),
889
sr.TypeResolver.Perspective.
MetadataWorkspace
.GetItemCollection(DataSpace.CSSpace) as StorageMappingItemCollection;
System\Data\Common\EntitySql\TypeResolver.cs (3)
222
get { return _perspective.
MetadataWorkspace
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.String); }
230
get { return _perspective.
MetadataWorkspace
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Boolean); }
238
get { return _perspective.
MetadataWorkspace
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int64); }
System\Data\Metadata\ClrPerspective.cs (4)
67
if (this.
MetadataWorkspace
.TryGetMap(type, DataSpace.OCSpace, out map))
98
if (this.
MetadataWorkspace
.TryGetMap(fullName, DataSpace.OSpace, ignoreCase, DataSpace.OCSpace, out map))
104
PrimitiveType primitiveType = this.
MetadataWorkspace
.GetMappedPrimitiveType(((PrimitiveType)map.EdmItem).PrimitiveTypeKind, DataSpace.CSpace);
134
if (!
MetadataWorkspace
.TryGetEntityContainer(defaultContainerName, DataSpace.CSpace, out container))
System\Data\Metadata\ModelPerspective.cs (2)
45
if (this.
MetadataWorkspace
.TryGetItem<EdmType>(fullName, ignoreCase, this.TargetDataspace, out edmType))
49
typeUsage = this.
MetadataWorkspace
.GetCanonicalModelTypeUsage(((PrimitiveType)edmType).PrimitiveTypeKind);
System\Data\Metadata\Perspective.cs (1)
125
return
MetadataWorkspace
.TryGetEntityContainer(name, ignoreCase, TargetDataspace, out entityContainer);
System\Data\Metadata\TargetPerspective.cs (1)
52
if (this.
MetadataWorkspace
.TryGetItem<EdmType>(fullName, ignoreCase, this.TargetDataspace, out edmType))
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1047
_perspective.
MetadataWorkspace
.ImplicitLoadAssemblyForType(linqType, null);
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
108
QueryCacheManager cacheManager = context.Perspective.
MetadataWorkspace
.GetQueryCacheManager();
System\Data\Objects\ObjectContext.cs (1)
2715
System.Data.Common.QueryCache.QueryCacheManager cacheManager = this.Perspective.
MetadataWorkspace
.GetQueryCacheManager();
System\Data\Objects\ObjectQuery.cs (1)
285
tResultType = this._state.ObjectContext.Perspective.
MetadataWorkspace
.GetOSpaceTypeUsage(tResultType);
System\Data\Objects\ObjectViewFactory.cs (1)
285
ospaceTypeUsage = objectContext.Perspective.
MetadataWorkspace
.GetOSpaceTypeUsage(typeUsage);