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