2 types derived from EntityTypeBase
System.Data.Entity (2)
System\Data\Metadata\Edm\EntityType.cs (1)
24public class EntityType : EntityTypeBase
System\Data\Metadata\Edm\RelationshipType.cs (1)
20public abstract class RelationshipType : EntityTypeBase
113 references to EntityTypeBase
System.Data.Entity (109)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
1661EntityTypeBase expectedSourceType = TypeHelpers.GetEdmType<RefType>(relatedRef.SourceEnd.TypeUsage).ElementType; 2044private static TypeUsage CreateReferenceResultType(EntityTypeBase referencedEntityType)
System\Data\Common\CommandTrees\ValueExpressions.cs (2)
599EntityTypeBase endType = TypeHelpers.GetEdmType<RefType>(targetEnd.TypeUsage).ElementType; 600EntityTypeBase targetType = TypeHelpers.GetEdmType<RefType>(targetEntityRef.ResultType).ElementType;
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (4)
332EntityTypeBase entityBaseFromType = fromType.EdmType as EntityTypeBase; 333EntityTypeBase entityBaseToType = toType.EdmType as EntityTypeBase;
System\Data\Common\Utils\MetadataHelper.cs (2)
225EntityTypeBase endType = refType.ElementType; 746internal static Set<EdmMember> GetConcurrencyMembersForTypeHierarchy(EntityTypeBase superType, EdmItemCollection edmItemCollection)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
310protected virtual void Visit(EntityTypeBase entityTypeBase)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
599protected override void Visit(EntityTypeBase entityTypeBase)
System\Data\Mapping\StorageMappingItemCollection.cs (8)
26using OfTypeQVCacheKey = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 63private ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>> _cachedInterestingMembers = 64new ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>>(); 454internal ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 459var key = new Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>(entitySet, entityType, interestingMembersKind); 471private ReadOnlyCollection<EdmMember> FindInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 633private void FindForeignKeyProperties(EntitySetBase entitySetBase, EntityTypeBase entityType, List<EdmMember> interestingMembers) 883internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView)
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (5)
24using OfTypeQVCacheKey = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 161private bool TryGenerateQueryViewOfType(EntityContainer entityContainer, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 205internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 207OfTypeQVCacheKey key = new OfTypeQVCacheKey(entity, new Pair<EntityTypeBase, bool>(type, includeSubtypes)); 227EntityTypeBase type = arg.Second.First;
System\Data\Mapping\StorageMappingItemLoader.cs (3)
26using Triple = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 1359Triple key = new Triple(setMapping.Set, new Pair<EntityTypeBase, bool>(entityType, includeSubtypes)); 3144EntityTypeBase containerType = endRef.ElementType;
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
133EntityTypeBase entityType,
System\Data\Mapping\StorageSetMapping.cs (1)
21using Triple = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>;
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (1)
411EntityTypeBase refElementType = refType.ElementType;
System\Data\Mapping\ViewGeneration\GeneratedView.cs (1)
82EntityTypeBase type,
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (3)
619if (path0.EdmType is EntityTypeBase || path1.EdmType is EntityTypeBase || 810EntityTypeBase type = m_extent.ElementType;
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
251EntityTypeBase extentType = m_extent.ElementType;
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (2)
168internal ErrorLog GenerateQueryViewForSingleExtent(ViewSet views, CqlIdentifiers identifiers, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode) 242private ErrorLog GenerateQueryViewForExtentAndType(StorageEntityContainerMapping entityContainerMapping, CqlIdentifiers identifiers, ViewSet views, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode)
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
59EntityTypeBase type,
System\Data\Mapping\ViewValidator.cs (3)
32internal static IEnumerable<EdmSchemaError> ValidateQueryView(DbQueryCommandTree view, StorageSetMapping setMapping, EntityTypeBase elementType, bool includeSubtypes) 55private readonly EntityTypeBase _elementType; 61internal ViewExpressionValidator(StorageSetMapping setMapping, EntityTypeBase elementType, bool includeSubtypes)
System\Data\Metadata\Converter.cs (3)
508EntityTypeBase fromEntityType = ((RefType)fromMember.TypeUsage.EdmType).ElementType; 509EntityTypeBase toEntityType = ((RefType)toMember.TypeUsage.EdmType).ElementType; 576private static EdmProperty[] GetProperties(EntityTypeBase entityType, IList<Som.PropertyRefElement> properties)
System\Data\Metadata\Edm\EdmType.cs (2)
182((EntityTypeBase)this).KeyMembers.Count == 0 || 183((EntityTypeBase)value).KeyMembers.Count == 0,
System\Data\Metadata\Edm\EntitySetBase.cs (4)
47internal EntitySetBase(string name, string schema, string table, string definingQuery, EntityTypeBase entityType) 73private EntityTypeBase _elementType; 153public EntityTypeBase ElementType 205EntityTypeBase elementType = ElementType;
System\Data\Metadata\Edm\EntityTypeBase.cs (3)
53if (this.BaseType != null && ((EntityTypeBase)this.BaseType).KeyMembers.Count != 0) 56return ((EntityTypeBase)this.BaseType).KeyMembers; 101Debug.Assert(this.BaseType == null || ((EntityTypeBase)this.BaseType).KeyMembers.Count == 0,
System\Data\Metadata\Edm\RefType.cs (3)
38private readonly EntityTypeBase _elementType; 51public EntityTypeBase ElementType 66private static string GetIdentity(EntityTypeBase entityTypeBase)
System\Data\Metadata\MappingMetadataHelper.cs (7)
24internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType) 45internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndSuperTypes(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase childEntityType) 50GetMappingsForEntitySetAndType(mappingCollection, container, entitySet, (edmType as EntityTypeBase)) 51: GetIsTypeOfMappingsForEntitySetAndType(mappingCollection, container, entitySet, (edmType as EntityTypeBase), childEntityType) 58private static IEnumerable<StorageTypeMapping> GetIsTypeOfMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType, EntityTypeBase childEntityType) 69internal static IEnumerable<StorageEntityTypeModificationFunctionMapping> GetModificationFunctionMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType)
System\Data\Metadata\MetadataWorkspace.cs (5)
1195internal bool TryGetGeneratedViewOfType(EntitySetBase extent, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 1394public IEnumerable<EdmMember> GetRequiredOriginalValueMembers(EntitySetBase entitySet, EntityTypeBase entityType) 1412public ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate(EntitySetBase entitySet, EntityTypeBase entityType, bool partialUpdateSupported) 1429private ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, StorageMappingItemCollection.InterestingMembersKind interestingMembersKind) 1432EntityUtil.CheckArgumentNull<EntityTypeBase>(entityType, "entityType");
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
552EntityTypeBase missingType = cspaceProperty.RelationshipType.RelationshipEndMembers.Select(e => ((RefType)e.TypeUsage.EdmType).ElementType).First(e => e != cspaceType);
System\Data\Metadata\TypeHelpers.cs (2)
392internal static RefType CreateReferenceType(EntityTypeBase entityType) 407internal static RowType CreateKeyRowType(EntityTypeBase entityType)
System\Data\Metadata\TypeSemantics.cs (1)
611return ((EntityTypeBase)edmMember.DeclaringType).KeyMembers.Contains(edmMember);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
29internal static bool EntityTypeEquals(EntityTypeBase entityType1, EntityTypeBase entityType2)
System\Data\Query\InternalTrees\RelPropertyHelper.cs (7)
110private Dictionary<EntityTypeBase, List<RelProperty>> _relPropertyMap; 137EntityTypeBase entityType = (EntityTypeBase)((RefType)fromEnd.TypeUsage.EdmType).ElementType; 177_relPropertyMap = new Dictionary<EntityTypeBase, List<RelProperty>>(); 194internal IEnumerable<RelProperty> GetDeclaredOnlyRelProperties(EntityTypeBase entityType) 212internal IEnumerable<RelProperty> GetRelProperties(EntityTypeBase entityType) 216foreach (RelProperty p in GetRelProperties(entityType.BaseType as EntityTypeBase))
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
301relProperties = m_typeInfo.RelPropertyHelper.GetRelProperties(typeInfo.Type.EdmType as md.EntityTypeBase); 305relProperties = m_typeInfo.RelPropertyHelper.GetDeclaredOnlyRelProperties(typeInfo.Type.EdmType as md.EntityTypeBase);
System\Data\Query\PlanCompiler\PreProcessor.cs (9)
52internal EntityTypeBase RootEntityType; 56internal DiscriminatorMapInfo(EntityTypeBase rootEntityType, bool includesSubTypes, ExplicitDiscriminatorMap discriminatorMap) 76internal void Merge(EntityTypeBase neededRootEntityType, bool includesSubtypes, ExplicitDiscriminatorMap discriminatorMap) 332EntityTypeBase requiredType = scanTableOp.Table.TableMetadata.Extent.ElementType; 343requiredType = (EntityTypeBase)typeFilter.IsOfType.EdmType; 402private void DetermineDiscriminatorMapUsage(Node viewNode, EntitySetBase entitySet, EntityTypeBase rootEntityType, bool includeSubtypes) 1605EntityTypeBase entityType = (EntityTypeBase)op.Type.EdmType; 1843EntityTypeBase entityType = discriminatorTypePair.Value;
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (14)
105private Dictionary<md.EntityTypeBase, md.EntitySet> m_entityTypeToEntitySetMap; 211internal md.EntitySet GetEntitySet(md.EntityTypeBase type) 214md.EntityTypeBase rootType = GetRootType(type); 284md.EntityTypeBase rootType = GetRootType(entityType); 321m_entityTypeToEntitySetMap = new Dictionary<md.EntityTypeBase, md.EntitySet>(); 350md.EntityTypeBase rootType = GetRootType(set.ElementType); 443md.EntityTypeBase rootEntityType = GetRootType((md.EntityType)type); 542md.EntityTypeBase entityType; 543if (TypeHelpers.TryGetEdmType<md.EntityTypeBase>(type, out entityType)) 898md.EntityTypeBase entityType = (md.EntityTypeBase)typeInfo.Type.EdmType; 1127private static md.EntityTypeBase GetRootType(md.EntityTypeBase type) 1131type = (md.EntityTypeBase)type.BaseType;
System\Data\Query\PlanCompiler\TypeInfo.cs (2)
324md.EntityTypeBase entityType = null; 332entityType = TypeHelpers.GetEdmType<md.EntityTypeBase>(m_type);
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
328private static EntityTypeBase GetEntityType(RelationshipEndMember endMember) 331EntityTypeBase type = ((RefType)endMember.TypeUsage.EdmType).ElementType;
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
325private static EntityTypeBase GetEntityType(RelationshipEndMember endMember) 328EntityTypeBase type = ((RefType)endMember.TypeUsage.EdmType).ElementType;