19 references to GetTypeAndSubtypesOf
System.Data.Entity (19)
System\Data\Common\Utils\MetadataHelper.cs (2)
352return GetTypeAndSubtypesOf(type, workspace.GetItemCollection(DataSpace.CSpace), includeAbstractTypes); 749foreach (StructuralType type in GetTypeAndSubtypesOf(superType, edmItemCollection, true /*includeAbstractTypes */ ))
System\Data\Mapping\FunctionImportMapping.cs (1)
494if (!MetadataHelper.GetTypeAndSubtypesOf(isTypeOf, m_itemCollection, false)
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (1)
62MetadataHelper.GetTypeAndSubtypesOf(entityType, itemCollection, includeAbstractTypes)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
264foreach (var entityType in MetadataHelper.GetTypeAndSubtypesOf(entitySet.ElementType, this.m_EdmItemCollection, false).Where(type => type != entitySet.ElementType))
System\Data\Mapping\StorageMappingItemLoader.cs (2)
900Set<EdmType> unmappedTypes = new Set<EdmType>(MetadataHelper.GetTypeAndSubtypesOf(setMapping.Set.ElementType, EdmItemCollection, false /*includeAbstractTypes*/)); 991IEnumerable<EdmType> typeAndSubTypes = MetadataHelper.GetTypeAndSubtypesOf(entityType, EdmItemCollection, false /*includeAbstractTypes*/);
System\Data\Mapping\ViewGeneration\CellCreator.cs (2)
294IEnumerable<EdmType> typeAndSubTypes = MetadataHelper.GetTypeAndSubtypesOf(type, m_containerMapping.StorageMappingItemCollection.EdmItemCollection, false /*includeAbstractTypes*/); 417allTypes.AddRange(MetadataHelper.GetTypeAndSubtypesOf(type, m_containerMapping.StorageMappingItemCollection.EdmItemCollection, false /*includeAbstractTypes*/));
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (3)
64derivedTypes.UnionWith(MetadataHelper.GetTypeAndSubtypesOf(end.CorrespondingAssociationEndMember.TypeUsage.EdmType, edmItemCollection, false)); 158possibleTypes.UnionWith(MetadataHelper.GetTypeAndSubtypesOf(edmType, edmItemCollection, true)); 165derivedTypes.UnionWith(MetadataHelper.GetTypeAndSubtypesOf(possibleType, edmItemCollection, false));
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
221types = MetadataHelper.GetTypeAndSubtypesOf(_generatedType, _context.EdmItemCollection, false /* don't include abstract types */); 322derivedTypes = MetadataHelper.GetTypeAndSubtypesOf(generatedType, _context.EdmItemCollection, false /* don't include abstract types */);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
165foreach (EdmType derivedType in MetadataHelper.GetTypeAndSubtypesOf(type, edmItemCollection, false /*includeAbstractTypes*/))
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (1)
210foreach (EdmType possibleType in MetadataHelper.GetTypeAndSubtypesOf(memberType, edmItemCollection, false /*includeAbstractTypes*/))
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
89Set<EdmType> unmapepdTypesInExtent = new Set<EdmType>(MetadataHelper.GetTypeAndSubtypesOf(m_viewgenContext.Extent.ElementType, m_viewgenContext.EdmItemCollection, false /*isAbstract*/));
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (1)
357foreach (EdmType type in MetadataHelper.GetTypeAndSubtypesOf(extent.ElementType, m_entityContainerMapping.StorageMappingItemCollection.EdmItemCollection, false /*includeAbstractTypes*/))
System\Data\Mapping\ViewValidator.cs (1)
193return MetadataHelper.GetTypeAndSubtypesOf(_elementType, this.EdmItemCollection, true).OfType<EntityType>();