3 instantiations of MetadataCacheItem
System.Data.Services (3)
System\Data\Services\DataService.cs (3)
1960
metadata = new
MetadataCacheItem
(dataContextType);
1970
metadata = new
MetadataCacheItem
(dataContextType) { Configuration = this.configuration };
1983
metadata = new
MetadataCacheItem
(dataContextType);
16 references to MetadataCacheItem
System.Data.Services (16)
System\Data\Services\Caching\MetadataCache.cs (7)
27
private static Dictionary<MetadataCacheKey,
MetadataCacheItem
> cache = new Dictionary<MetadataCacheKey,
MetadataCacheItem
>(new MetadataCacheKey.Comparer());
41
internal static
MetadataCacheItem
AddCacheItem(Type serviceType, object dataContextInstance,
MetadataCacheItem
item)
48
MetadataCacheItem
result;
82
internal static
MetadataCacheItem
TryLookup(Type serviceType, object dataContextInstance)
88
MetadataCacheItem
result;
System\Data\Services\Caching\MetadataCacheItem.cs (1)
78
/// <summary>Initializes a new <see cref="
MetadataCacheItem
"/> instance.</summary>
System\Data\Services\DataService.cs (2)
1956
MetadataCacheItem
metadata = MetadataCache.TryLookup(dataServiceType, dataSourceInstance);
1979
MetadataCacheItem
metadata = MetadataCache.TryLookup(dataServiceType, dataSourceInstance);
System\Data\Services\Providers\BaseServiceProvider.cs (2)
39
private
MetadataCacheItem
metadata;
54
protected BaseServiceProvider(
MetadataCacheItem
metadata, object dataServiceInstance)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (2)
75
private readonly
MetadataCacheItem
metadata;
97
internal DataServiceProviderWrapper(
MetadataCacheItem
metadata, IDataServiceMetadataProvider metadataProvider, IDataServiceQueryProvider queryProvider)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
65
internal ObjectContextServiceProvider(
MetadataCacheItem
metadata, object dataServiceInstance)
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
41
internal ReflectionServiceProvider(
MetadataCacheItem
metadata, object dataServiceInstance)