2 instantiations of MetadataCacheKey
System.Data.Services (2)
System\Data\Services\Caching\MetadataCache.cs (2)
47
MetadataCacheKey key = new
MetadataCacheKey
(serviceType, dataContextInstance as ObjectContext);
87
MetadataCacheKey key = new
MetadataCacheKey
(serviceType, dataContextInstance as ObjectContext);
9 references to MetadataCacheKey
System.Data.Services (9)
System\Data\Services\Caching\MetadataCache.cs (9)
27
private static Dictionary<
MetadataCacheKey
, MetadataCacheItem> cache = new Dictionary<
MetadataCacheKey
, MetadataCacheItem>(new
MetadataCacheKey
.Comparer());
47
MetadataCacheKey
key = new MetadataCacheKey(serviceType, dataContextInstance as ObjectContext);
87
MetadataCacheKey
key = new MetadataCacheKey(serviceType, dataContextInstance as ObjectContext);
136
internal class Comparer : IEqualityComparer<
MetadataCacheKey
>
142
public bool Equals(
MetadataCacheKey
x,
MetadataCacheKey
y)
150
public int GetHashCode(
MetadataCacheKey
obj)