13 references to MetadataCache
System.Data.Entity (13)
System\Data\EntityClient\EntityConnection.cs (4)
426
loaders =
MetadataCache
.GetOrCreateMetdataArtifactLoader(paths);
435
_artifactLoader = MetadataArtifactLoader.Create(
MetadataCache
.SplitPaths(paths));
951
EdmItemCollection edmItemCollection =
MetadataCache
.GetOrCreateEdmItemCollection(edmCacheKey,
988
MetadataCache
.GetOrCreateStoreAndMappingItemCollections(storeCacheKey,
System\Data\Metadata\MetadataCache.cs (8)
54
private static Memoizer<string, List<MetadataArtifactLoader>> _artifactLoaderCache = new Memoizer<string, List<MetadataArtifactLoader>>(
MetadataCache
.SplitPaths, null);
128
int indexStart = paths.IndexOf(
MetadataCache
.s_dataDirectory, StringComparison.OrdinalIgnoreCase);
132
MetadataCache
.s_metadataPathSeparator,
144
int indexEnd = paths.IndexOf(
MetadataCache
.s_metadataPathSeparator,
145
indexStart +
MetadataCache
.s_dataDirectory.Length,
159
indexStart = paths.IndexOf(
MetadataCache
.s_dataDirectory, StringComparison.OrdinalIgnoreCase);
163
results = paths.Split(new string[] {
MetadataCache
.s_metadataPathSeparator }, StringSplitOptions.RemoveEmptyEntries);
407
new Memoizer<string, List<MetadataArtifactLoader>>(
MetadataCache
.SplitPaths, null);
System\Data\Metadata\MetadataWorkspace.cs (1)
1328
MetadataCache
.Clear();