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