50 references to Type
System.Data.Entity (50)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (6)
204
Append("C-", columnMap.
Type
);
220
Append("E-", columnMap.
Type
);
228
Append("SP-", columnMap.
Type
);
241
Append("R-", columnMap.
Type
);
251
bool isRefType = TypeHelpers.TryGetRefEntityType(columnMap.
Type
, out referencedEntityType);
259
"S({0}-{1}:{2})", columnMap.CommandId, columnMap.ColumnPos, columnMap.
Type
.Identity);
System\Data\Common\Internal\Materialization\Translator.cs (17)
1139
Type type = translator.DetermineClrType(columnMap.
Type
);
1165
ComplexType complexType = (ComplexType)columnMap.
Type
.EdmType;
1218
EntityType cSpaceType = (EntityType)columnMap.
Type
.EdmType;
1357
ObjectTypeMapping mapping = LookupObjectMapping(columnMap.
Type
.EdmType);
1383
Expression valueReaderWithErrorHandling = Emit_Shaper_GetPropertyValueWithErrorHandling(propertyType, scalarColumnMap.ColumnPos, propertyName, propertyAccessor.DeclaringType.Name, scalarColumnMap.
Type
);
1446
Type type = DetermineClrType(typeChoice.Value.
Type
);
1546
Debug.Assert(columnMap.
Type
.EdmType.BuiltInTypeKind == BuiltInTypeKind.RowType, "RecordColumnMap without RowType?"); // we kind of depend upon this
1552
if (InitializerMetadata.TryGetInitializerMetadata(columnMap.
Type
, out initializerMetadata))
1559
RowType spanRowType = (RowType)columnMap.
Type
.EdmType;
1599
if (TypeHelpers.TryGetEdmType<EntityType>(columnMap.
Type
, out entityTypeMetadata))
1605
TypeUsage edmType = Helper.GetModelTypeUsage(columnMap.
Type
);
1625
typeUsages[ordinal] = columnMap.Properties[ordinal].
Type
;
1674
type = DetermineClrType(propertyColumnMap.
Type
);
1709
TypeUsage type = columnMap.
Type
;
1826
elementColumnMap = new RecordColumnMap(columnMap.Element.
Type
, columnMap.Element.Name, columnMaps, null);
1940
TypeUsage edmElementType = ((CollectionType)columnMap.
Type
.EdmType).TypeUsage; // the TypeUsage of the Element of the collection.
2064
TypeUsage columnType = columnMap.
Type
;
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
122
TypeUsage functionViewType = rootProjectOp.ColumnMap.
Type
;
System\Data\Objects\ObjectContext.cs (1)
3191
return new ObjectResult<TElement>(shaper, entitySet, MetadataHelper.GetElementType(columnMap.
Type
), readerOwned);
System\Data\Query\InternalTrees\ColumnMapCopier.cs (9)
174
return new ComplexTypeColumnMap(columnMap.
Type
, columnMap.Name, fieldList, newNullability);
189
return new DiscriminatedCollectionColumnMap(columnMap.
Type
, columnMap.Name, newElementColumnMap, newKeys, newForeignKeys, newDiscriminator, columnMap.DiscriminatorValue);
202
return new EntityColumnMap(columnMap.
Type
, columnMap.Name, fieldList, newEntityIdentity);
222
return new SimplePolymorphicColumnMap(columnMap.
Type
, columnMap.Name, newBaseFieldList, newDiscriminator, newTypeChoices);
250
return new RecordColumnMap(columnMap.
Type
, columnMap.Name, fieldList, newNullability);
262
return new RefColumnMap(columnMap.
Type
, columnMap.Name, newEntityIdentity);
273
return new ScalarColumnMap(columnMap.
Type
, columnMap.Name, columnMap.CommandId, columnMap.ColumnPos);
287
return new SimpleCollectionColumnMap(columnMap.
Type
, columnMap.Name, newElementColumnMap, newKeys, newForeignKeys);
299
return new VarRefColumnMap(columnMap.
Type
, columnMap.Name, replacementVar);
System\Data\Query\InternalTrees\Command.cs (1)
1453
TypeUtils.CreateCollectionType(varRefColumnMap.
Type
), // type
System\Data\Query\InternalTrees\Dump.cs (1)
624
attrs.Add("Type", columnMap.
Type
.ToString());
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
384
if (md.TypeSemantics.IsStructurallyEqual(value.
Type
, typeInfo.Type))
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (9)
168
columnMap = new VarRefColumnMap(varRefColumnMap.
Type
, varRefColumnMap.Name, replacementVar);
198
columnMap = new ScalarColumnMap(varRefColumnMap.
Type
, varRefColumnMap.Name, commandAndColumn.Key, commandAndColumn.Value);
290
columnMap = new ComplexTypeColumnMap(columnMap.
Type
, columnMap.Name, columnMap.Properties, newNullSentinel);
310
columnMap = new DiscriminatedCollectionColumnMap(columnMap.
Type
, columnMap.Name, newElement, columnMap.Keys, columnMap.ForeignKeys,(SimpleColumnMap)newDiscriminator, columnMap.DiscriminatorValue);
328
columnMap = new EntityColumnMap(columnMap.
Type
, columnMap.Name, columnMap.Properties, newEntityIdentity);
363
columnMap = new SimplePolymorphicColumnMap(columnMap.
Type
, columnMap.Name, columnMap.Properties, (SimpleColumnMap)newTypeDiscriminator, newTypeChoices);
397
columnMap = new RecordColumnMap(columnMap.
Type
, columnMap.Name, columnMap.Properties, newNullSentinel);
414
columnMap = new RefColumnMap(columnMap.
Type
, columnMap.Name, newEntityIdentity);
444
columnMap = new SimpleCollectionColumnMap(columnMap.
Type
, columnMap.Name, newElement, columnMap.Keys, columnMap.ForeignKeys);
System\Data\Query\PlanCompiler\NestPullup.cs (2)
1972
newProjectColumnMap = new SimpleCollectionColumnMap(newProjectColumnMap.
Type
, newProjectColumnMap.Name, newProjectColumnMap.Element, keyColumnMaps, null);
2309
TypeUtils.CreateCollectionType(newCollectionInfo.ColumnMap.
Type
),
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
983
SimpleCollectionColumnMap resultColumnMap = new SimpleCollectionColumnMap(TypeUtils.CreateCollectionType(newColumnMap.
Type
), newColumnMap.Name, newColumnMap, columnMap.Keys, columnMap.ForeignKeys);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
2417
AddTypeNeedingNullSentinel(typesNeedingNullSentinel, columnMap.
Type
);