5 instantiations of EdmItemCollection
System.Data.Entity (2)
System\Data\Metadata\MetadataCache.cs (1)
641EdmItemCollection itemCollection = new EdmItemCollection(
System\Data\Metadata\MetadataWorkspace.cs (1)
91this._itemsCSpace = new EdmItemCollection(cSpaceReaders, composite.GetPaths(dataSpace));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
317session.EdmItemCollection = new EdmItemCollection();
System.Data.Services.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
572EdmItemCollection itemCollection = new EdmItemCollection(readers);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
597edmItemCollection = new EdmItemCollection();
115 references to EdmItemCollection
System.Data.Entity (88)
System\Data\Common\Utils\MetadataHelper.cs (2)
433internal static Dictionary<EntityType, Set<EntityType>> BuildUndirectedGraphOfTypes(EdmItemCollection edmItemCollection) 746internal static Set<EdmMember> GetConcurrencyMembersForTypeHierarchy(EntityTypeBase superType, EdmItemCollection edmItemCollection)
System\Data\EntityClient\EntityConnection.cs (5)
417EdmItemCollection edmItemCollection = null; 448edmItemCollection = (EdmItemCollection)_metadataWorkspace.GetItemCollection(DataSpace.CSpace); 944private static EdmItemCollection LoadEdmItemCollection(MetadataWorkspace workspace, MetadataArtifactLoader artifactLoader) 951EdmItemCollection edmItemCollection = MetadataCache.GetOrCreateEdmItemCollection(edmCacheKey, 966EdmItemCollection edmItemCollection,
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
446if (!String.IsNullOrEmpty(Alias) && EdmItemCollection.IsSystemNamespace(ProviderManifest, Alias)) 455EdmItemCollection.IsSystemNamespace(ProviderManifest, Namespace))
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (1)
127if (EdmItemCollection.IsSystemNamespace(_definingSchema.ProviderManifest, name))
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
35public DefaultObjectMappingItemCollection(EdmItemCollection edmCollection, 48private EdmItemCollection m_edmCollection;
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
29private EdmItemCollection m_EdmItemCollection;
System\Data\Mapping\StorageMappingItemCollection.cs (8)
36private EdmItemCollection m_edmCollection; 79public StorageMappingItemCollection(EdmItemCollection edmCollection, StoreItemCollection storeCollection, 120public StorageMappingItemCollection(EdmItemCollection edmCollection, 149internal StorageMappingItemCollection(EdmItemCollection edmCollection, 175internal StorageMappingItemCollection(EdmItemCollection edmCollection, 193private IList<EdmSchemaError> Init(EdmItemCollection edmCollection, 267internal EdmItemCollection EdmItemCollection 892private static void CheckForDuplicateItems(EdmItemCollection edmItemCollection, StoreItemCollection storeItemCollection, List<EdmSchemaError> errorCollection)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
173private EdmItemCollection EdmItemCollection 3722private readonly EdmItemCollection m_edmItemCollection;
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (4)
36internal void CreateVariableConstraints(EntitySetBase extent, MemberDomainMap domainMap, EdmItemCollection edmItemCollection) 41internal void CreateAssociationConstraints(EntitySetBase extent, MemberDomainMap domainMap, EdmItemCollection edmItemCollection) 129EdmItemCollection edmItemCollection) 154private void CreateVariableConstraintsRecursion(EdmType edmType, MemberPath currentPath, MemberDomainMap domainMap, EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (5)
118internal static CellConstantSet DeriveDomainFromMemberPath(MemberPath memberPath, EdmItemCollection edmItemCollection, bool leaveDomainUnbounded) 130private static CellConstantSet DeriveDomainFromType(EdmType type, EdmItemCollection edmItemCollection, bool leaveDomainUnbounded) 338ComputeConstantDomainSetsForSlotsInQueryViews(IEnumerable<Cell> cells, EdmItemCollection edmItemCollection, bool isValidationEnabled) 373private static bool GetRestrictedOrUnrestrictedDomain(MemberProjectedSlot slot, CellQuery cellQuery, EdmItemCollection edmItemCollection, out CellConstantSet domain) 389ComputeConstantDomainSetsForSlotsInUpdateViews(IEnumerable<Cell> cells, EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (4)
48private EdmItemCollection m_edmItemCollection; 55Dictionary<MemberPath, CellConstantSet> nonConditionDomainMap, EdmItemCollection edmItemCollection) 64internal MemberDomainMap(ViewTarget viewTarget, bool isValidationEnabled, IEnumerable<Cell> extentCells, EdmItemCollection edmItemCollection, ConfigViewGenerator config, Dictionary<EntityType, Set<EntityType>> inheritanceGraph) 237EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (3)
35internal static MemberProjectionIndex Create(EntitySetBase extent, EdmItemCollection edmItemCollection) 187private static void GatherPartialSignature(MemberProjectionIndex index, EdmItemCollection edmItemCollection, MemberPath member, bool needKeysOnly) 226EdmItemCollection edmItemCollection,
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (1)
88EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (2)
36private EdmItemCollection m_edmItemCollection; 191internal EdmItemCollection EdmItemCollection
System\Data\Mapping\ViewValidator.cs (1)
58private EdmItemCollection EdmItemCollection { get { return _setMapping.EntityContainerMapping.StorageMappingItemCollection.EdmItemCollection; } }
System\Data\Metadata\Converter.cs (2)
153EdmItemCollection edmCollection = (EdmItemCollection)convertedItemCache.ItemCollection;
System\Data\Metadata\MetadataCache.cs (8)
261internal static EdmItemCollection GetOrCreateEdmItemCollection(string cacheKey, 284EdmItemCollection edmItemCollection, 621internal EdmItemCollection EdmItemCollection 625return (EdmItemCollection)this.ItemCollection; 641EdmItemCollection itemCollection = new EdmItemCollection( 695internal void LoadStoreCollection(EdmItemCollection edmItemCollection, MetadataArtifactLoader loader) 842private EdmItemCollection _edmItemCollection; 850internal StoreItemCollectionLoader(EdmItemCollection edmItemCollection, MetadataArtifactLoader loader)
System\Data\Metadata\MetadataWorkspace.cs (10)
116private EdmItemCollection _itemsCSpace; 205EdmItemCollection edmCollection = (EdmItemCollection)collection; 301versionToRegister = ((EdmItemCollection)itemCollectionToRegister).EdmVersion; 375collection.ExplicitLoadFromAssembly(assembly, (EdmItemCollection)itemCollection, logLoadMessage); 407if (!objItemCollection.ImplicitLoadAssemblyForType(type, (EdmItemCollection)edmItemCollection) && (null != callingAssembly)) 428objItemCollection.ImplicitLoadAllReferencedAssemblies(callingAssembly, (EdmItemCollection)edmItemCollection); 870EdmItemCollection edm = _itemsCSpace as EdmItemCollection; 1211return ((EdmItemCollection)collection).GetGeneratedFunctionDefinition(function);
System\Data\Metadata\ObjectItemCollection.cs (7)
93internal void ImplicitLoadAllReferencedAssemblies(Assembly assembly, EdmItemCollection edmItemCollection) 136public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 146public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection) 157internal void ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 173internal void ImplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection) 191internal bool ImplicitLoadAssemblyForType(Type type, EdmItemCollection edmItemCollection) 301bool loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action<String> logLoadMessage)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (2)
40KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action<String> logLoadMessage, ref object loaderCookie, out Dictionary<string, EdmType> typesInLoading, out List<EdmItemError> errors) 137private static void UpdateCache(EdmItemCollection edmItemCollection, Dictionary<Assembly, MutableAssemblyCacheEntry> assemblies)
System\Data\Metadata\ObjectLayer\KnownAssembliesSet.cs (3)
44internal bool TryGetKnownAssembly(Assembly assembly, object loaderCookie, EdmItemCollection itemCollection, out KnownAssemblyEntry entry) 64public IEnumerable<KnownAssemblyEntry> GetEntries(object loaderCookie, EdmItemCollection itemCollection) 69internal bool Contains(Assembly assembly, object loaderCookie, EdmItemCollection itemCollection)
System\Data\Metadata\ObjectLayer\KnownAssemblyEntry.cs (1)
47public bool HaveSeenInCompatibleContext(object loaderCookie, EdmItemCollection itemCollection)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (3)
44private readonly EdmItemCollection _edmItemCollection; 53internal EdmItemCollection EdmItemCollection { get { return _edmItemCollection; } } 130internal ObjectItemLoadingSessionData(KnownAssembliesSet knownAssemblies, LockedAssemblyCache lockedAssemblyCache, EdmItemCollection edmItemCollection, Action<String> logLoadMessage, object loaderCookie)
System\Data\Metadata\StoreItemCollection.cs (1)
207List<EdmSchemaError> errorList = EdmItemCollection.LoadItems(_providerManifest, loader.Schemas, this);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
203private EdmItemCollection EdmItemCollection 207return (EdmItemCollection)_funcletizer.RootContext.MetadataWorkspace.GetItemCollection(DataSpace.CSpace, true);
System\Data\Objects\ELinq\InitializerFacet.cs (5)
61internal static InitializerMetadata CreateGroupingInitializer(EdmItemCollection itemCollection, Type resultType) 67internal static InitializerMetadata CreateProjectionInitializer(EdmItemCollection itemCollection, MemberInitExpression initExpression, 74internal static InitializerMetadata CreateProjectionInitializer(EdmItemCollection itemCollection, NewExpression newExpression) 80internal static InitializerMetadata CreateEmptyProjectionInitializer(EdmItemCollection itemCollection, NewExpression newExpression) 86internal static InitializerMetadata CreateEntityCollectionInitializer(EdmItemCollection itemCollection, Type type, NavigationProperty navigationProperty)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
194(EdmItemCollection)workspace.GetItemCollection(DataSpace.CSpace), init, members);
System.Data.Entity.Design (16)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
121if (EdmItemCollection.IsSystemNamespace(MetadataItem.EdmProviderManifest, namespaceToWrite))
System\Data\Entity\Design\EntityFrameworkVersions.cs (1)
60Assembly dataEntity = typeof(EdmItemCollection).Assembly;
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (3)
139private EdmItemCollection _edmItemCollection; 161public EdmItemCollection EdmItemCollection 279public EdmItemCollection EdmItemCollection;
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
373EdmItemCollection edmItemCollection = new EdmItemCollection(new XmlReader[] { csdl }, csdlLocations.AsReadOnly(), out errors);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
335EdmItemCollection edmCollection = mappingCollection.EdmItemCollection;
System\Data\Entity\Design\MetadataExtensionMethods.cs (1)
26public static System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(this EdmItemCollection itemCollection, Version edmVersion)
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (5)
42public static EdmItemCollection CreateEdmItemCollection(IEnumerable<XmlReader> readers, 59public static EdmItemCollection CreateEdmItemCollection(IEnumerable<XmlReader> readers, 65EdmItemCollection edmItemCollection = CreateEdmItemCollection(readers, out errors); 130public static StorageMappingItemCollection CreateStorageMappingItemCollection(EdmItemCollection edmCollection, 149EdmItemCollection edmCollection,
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
40private EdmItemCollection _edmItemCollection = null; 51public ClientApiGenerator(Schema sourceSchema, EdmItemCollection edmItemCollection, EntityClassGenerator generator, List<EdmSchemaError> errors)
System\Data\EntityModel\EntityClassGenerator.cs (1)
317EdmItemCollection itemCollection = new EdmItemCollection(schemas);
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
301Double currentVersion = ((EdmItemCollection)this.ObjectContext.MetadataWorkspace.GetItemCollection(DataSpace.CSpace)).EdmVersion;
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
355private void EmitEpmAttributesForEntityType(EdmItemCollection itemCollection, EntityType entityType, CodeTypeDeclaration typeDecl)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
148private EdmItemCollection _edmItemCollection; 163public ClientApiGenerator(object sourceSchema, EdmItemCollection edmItemCollection, EntityClassGenerator generator, List<EdmSchemaError> errors, string namespacePrefix) 198internal EdmItemCollection EdmItemCollection
System\Data\EntityModel\EntityClassGenerator.cs (2)
228stream = typeof(EdmItemCollection).Assembly.GetManifestResourceStream(resourceName); 572EdmItemCollection itemCollection = new EdmItemCollection(readers);
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (4)
384private EdmItemCollection EdmItemCollection 410return itemCollection as EdmItemCollection; // not guaranteed not to be null, caller must check anyway before using 609metadataWorkspace.RegisterItemCollection(new StorageMappingItemCollection(edmItemCollection as EdmItemCollection, storeItemCollection as StoreItemCollection)); 1430private static IEnumerable<EntityType> GetTypeAndSubtypesOf(EntityType entityType, EdmItemCollection itemCollection)