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