1 write to RequestedType
System.Data.Entity (1)
System\Data\Common\Internal\Materialization\Translator.cs (1)
40
this.
RequestedType
= requestedType;
24 references to RequestedType
System.Data.Entity (24)
System\Data\Common\Internal\Materialization\Translator.cs (24)
1185
return new TranslatorResult(result, arg.
RequestedType
);
1300
Emit_WrappedNullConstant(arg.
RequestedType
)
1304
return new TranslatorResult(result, arg.
RequestedType
);
1328
constructEntity = Emit_EnsureTypeAndWrap(constructEntity, entityKeyReader, entitySetReader, arg.
RequestedType
, clrType, actualType,
1435
arg.
RequestedType
);
1439
result = Emit_WrappedNullConstant(arg.
RequestedType
); // the default
1473
return new TranslatorResult(result, arg.
RequestedType
);
1482
MethodInfo multipleDiscriminatorPolymorphicColumnMapHelper = Translator_MultipleDiscriminatorPolymorphicColumnMapHelper.MakeGenericMethod(arg.
RequestedType
);
1484
return new TranslatorResult(result, arg.
RequestedType
);
1580
return new TranslatorResult(result, arg.
RequestedType
);
1717
Expression result = Emit_EnsureType(Expression.New(MaterializedDataRecord_ctor, Shaper_Workspace, typeUsage, columnReaderArray), arg.
RequestedType
);
1748
MethodInfo handleFullSpanCollectionMethod = Shaper_HandleFullSpanCollection.MakeGenericMethod(arg.
RequestedType
, elementType);
1756
MethodInfo handleRelationshipSpanMethod = Shaper_HandleRelationshipSpan.MakeGenericMethod(arg.
RequestedType
);
1762
MethodInfo handleFullSpanElementMethod = Shaper_HandleFullSpanElement.MakeGenericMethod(arg.
RequestedType
, spannedResultReader.Type);
1803
Type elementType = DetermineElementType(arg.
RequestedType
, columnMap);
1883
if (EntityUtil.TryGetICollectionElementType(arg.
RequestedType
, out innerElementType))
1887
var typeToInstantiate = EntityUtil.DetermineCollectionType(arg.
RequestedType
);
1891
throw EntityUtil.InvalidOperation(Strings.ObjectQuery_UnableToMaterializeArbitaryProjectionType(arg.
RequestedType
));
1901
result = Emit_EnsureType(result, arg.
RequestedType
);
1908
if (!arg.
RequestedType
.IsAssignableFrom(result.Type))
1918
return new CollectionTranslatorResult(result, columnMap, arg.
RequestedType
, expressionToGetCoordinator);
2051
return new TranslatorResult(result, arg.
RequestedType
);
2063
Type type = arg.
RequestedType
;
2124
Expression resultWithErrorHandling = Emit_Shaper_GetColumnValueWithErrorHandling(arg.
RequestedType
, ordinal, columnType);