33 references to Type
System.Data.Entity (33)
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (19)
135myProperties = TypeHelpers.GetDeclaredStructuralMembers(typeInfo.Type); 140myProperties = TypeHelpers.GetAllStructuralMembers(typeInfo.Type); 151ComplexTypeColumnMap columnMap = new ComplexTypeColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), nullSentinelColumnMap); 199foreach (md.EdmMember property in TypeHelpers.GetDeclaredStructuralMembers(typeInfo.Type)) 205columnMap = new EntityColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), superTypeColumnMap.EntityIdentity); 220foreach (md.EdmMember property in TypeHelpers.GetDeclaredStructuralMembers(typeInfo.Type)) 234foreach (md.EdmMember keyProperty in TypeHelpers.GetEdmType<md.EntityType>(typeInfo.Type).KeyMembers) 246EntityIdentity identity = CreateEntityIdentity((md.EntityType)typeInfo.Type.EdmType, entitySetIdColumnMap, keyColumnMapList.ToArray()); 249columnMap = new EntityColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), identity); 301relProperties = m_typeInfo.RelPropertyHelper.GetRelProperties(typeInfo.Type.EdmType as md.EntityTypeBase); 305relProperties = m_typeInfo.RelPropertyHelper.GetDeclaredOnlyRelProperties(typeInfo.Type.EdmType as md.EntityTypeBase); 368if (md.TypeSemantics.IsComplexType(typeInfo.Type)) 384if (md.TypeSemantics.IsStructurallyEqual(value.Type, typeInfo.Type)) 393SimplePolymorphicColumnMap result = new SimplePolymorphicColumnMap(typeInfo.Type, name, baseTypeColumnMap.Properties, typeIdColumnMap, discriminatorMap); 406PlanCompiler.Assert(typeInfo.Type.EdmType is md.RowType, "not RowType"); 413md.ReadOnlyMetadataCollection<md.EdmProperty> properties = TypeHelpers.GetProperties(typeInfo.Type); 421RecordColumnMap result = new RecordColumnMap(typeInfo.Type, name, propertyColumnMapList, nullSentinelColumnMap); 440md.EntityType entityType = (md.EntityType)(TypeHelpers.GetEdmType<md.RefType>(typeInfo.Type).ElementType); 453RefColumnMap result = new RefColumnMap(typeInfo.Type, name, identity);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (4)
461md.TypeUsage currentType = typeInfo.Type; 701md.RowType originalRowType = unnestOpTableTypeInfo.Type.EdmType as md.RowType; 702PlanCompiler.Assert(originalRowType != null, "Unexpected TVF return type (must be row): " + unnestOpTableTypeInfo.Type.ToString()); 3028IEnumerable<TypeInfo> types = typeInfo.GetTypeHierarchy().Where(t => !t.Type.EdmType.Abstract);
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (9)
648return typeInfo.ImmediateSubTypes.Count > 0 && !md.TypeSemantics.IsReferenceType(typeInfo.Type); 660return m_typesNeedingNullSentinel.Contains(typeInfo.Type.EdmType.Identity); 673md.RefType refType = typeInfo.Type.EdmType as md.RefType; 680entityType = typeInfo.Type.EdmType as md.EntityType; 806if (md.TypeSemantics.IsEntityType(rootType.Type)) 838if (TypeHelpers.TryGetEdmType<md.RefType>(typeInfo.Type, out refType)) 852typeMembers = TypeHelpers.GetDeclaredStructuralMembers(typeInfo.Type); 898md.EntityTypeBase entityType = (md.EntityTypeBase)typeInfo.Type.EdmType; 949if (md.TypeSemantics.IsEntityType(type.Type) &&
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
618PlanCompiler.Assert(false, "Unable to find property " + propertyRef.ToString() + " in type " + this.Type.EdmType.Identity);