1 instantiation of Translator
System.Data.Entity (1)
System\Data\Common\Internal\Materialization\Translator.cs (1)
215
Translator translator = new
Translator
(workspace, spanIndex, mergeOption, valueLayer);
35 references to Translator
System.Data.Entity (35)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
23
/// can be cached. The general rule: if the <see cref="
Translator
"/> cares about some property of
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (6)
211
this.WrappedElement =
Translator
.Compile<IEntityWrapper>(element);
212
elementWithErrorHandling =
Translator
.Emit_UnwrapAndEnsureType(elementWithErrorHandling, typeof(TElement));
216
this.Element =
Translator
.Compile<TElement>(element);
218
this.ElementWithErrorHandling =
Translator
.Compile<TElement>(elementWithErrorHandling);
221
:
Translator
.Compile<ICollection<TElement>>(initializeCollection);
255
result =
Translator
.Compile<bool>(predicate);
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (4)
274
result = Expression.Constant(
Translator
.Compile(body.Type, body));
379
Translator
.Shaper_Reader,
429
if (shaper != null && shaper ==
Translator
.Shaper_Parameter)
455
Translator
.Shaper_Reader,
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (1)
103
this.GatherData =
Translator
.Compile<bool>(gatherData);
System\Data\Common\Internal\Materialization\Shaper.cs (1)
838
MethodInfo readerMethod =
Translator
.GetReaderMethod(typeof(T), out isNullable);
System\Data\Common\Internal\Materialization\ShaperFactory.cs (1)
41
return
Translator
.TranslateColumnMap<T>(cacheManager, columnMap, metadata, spanInfo, mergeOption, valueLayer);
System\Data\Common\Internal\Materialization\Translator.cs (11)
68
Expression result =
Translator
.Emit_EnsureType(ReturnedExpression, RequestedType);
96
return
Translator
.Emit_UnwrapAndEnsureType(ReturnedExpression, RequestedType);
215
Translator
translator = new Translator(workspace, spanIndex, mergeOption, valueLayer);
585
private static readonly MethodInfo Translator_BinaryEquals = typeof(
Translator
).GetMethod("BinaryEquals", BindingFlags.NonPublic | BindingFlags.Static);
586
private static readonly MethodInfo Translator_CheckedConvert = typeof(
Translator
).GetMethod("CheckedConvert", BindingFlags.NonPublic | BindingFlags.Static);
587
private static readonly MethodInfo Translator_Compile = typeof(
Translator
).GetMethod("Compile", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(Expression) }, null);
588
private static readonly MethodInfo Translator_MultipleDiscriminatorPolymorphicColumnMapHelper = typeof(
Translator
).GetMethod("MultipleDiscriminatorPolymorphicColumnMapHelper", BindingFlags.NonPublic | BindingFlags.Instance);
589
private static readonly MethodInfo Translator_TypedCreateInlineDelegate = typeof(
Translator
).GetMethod("TypedCreateInlineDelegate", BindingFlags.NonPublic | BindingFlags.Instance);
810
return
Translator
.Emit_EnsureType(Expression.Property(input, IEntityWrapper_Entity), type);
897
private static Expression Emit_EntityKey_ctor(
Translator
translator, EntityIdentity entityIdentity, bool isForColumnValue, out Expression entitySetReader)
1137
private static TranslatorResult AcceptWithMappedType(
Translator
translator, ColumnMap columnMap, ColumnMap parent)
System\Data\Objects\ELinq\InitializerFacet.cs (7)
138
internal abstract Expression Emit(
Translator
translator, List<TranslatorResult> propertyTranslatorResults);
214
internal override Expression Emit(
Translator
translator, List<TranslatorResult> propertyTranslatorResults)
297
internal override Expression Emit(
Translator
translator, List<TranslatorResult> propertyTranslatorResults)
336
internal override Expression Emit(
Translator
translator, List<TranslatorResult> propertyReaders)
389
internal override Expression Emit(
Translator
translator, List<TranslatorResult> propertyReaders)
469
internal override Expression Emit(
Translator
translator, List<TranslatorResult> propertyTranslatorResults)
477
Expression shaper =
Translator
.Shaper_Parameter;
System\Data\Objects\ObjectContext.cs (2)
2716
ShaperFactory<TElement> shaperFactory =
Translator
.TranslateColumnMap<TElement>(cacheManager, commandDefinition.CreateColumnMap(storeReader, resultSetIndex), this.MetadataWorkspace, null, mergeOption, false);
3189
ShaperFactory<TElement> shaperFactory =
Translator
.TranslateColumnMap<TElement>(cacheManager, columnMap, this.MetadataWorkspace, null, mergeOption, false);
System\Data\Query\ResultAssembly\BridgeDataReader.cs (1)
144
ShaperFactory<RecordState> shaperFactory =
Translator
.TranslateColumnMap<RecordState>(cacheManager, columnMap, workspace, null, NoTracking, true);