1 instantiation of RecordState
System.Data.Entity (1)
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (1)
141
return new
RecordState
(this, coordinatorFactory);
58 references to RecordState
System.Data.Entity (58)
System\Data\Common\Internal\Materialization\Coordinator.cs (1)
226
this.IsUsingElementCollection = (!this.IsRoot && typeof(T) != typeof(
RecordState
));
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (4)
293
internal
RecordState
GetDefaultRecordState(Shaper<
RecordState
> shaper)
295
RecordState
result = null;
300
result = (
RecordState
)shaper.State[this.RecordStateFactories[0].StateSlotNumber];
System\Data\Common\Internal\Materialization\RecordState.cs (4)
97
RecordState
recordState = CurrentColumnValues[ordinal] as
RecordState
;
255
internal
RecordState
GatherData(Shaper shaper)
286
internal
RecordState
SetNullRecord(Shaper shaper)
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (1)
139
internal
RecordState
Create(CoordinatorFactory coordinatorFactory)
System\Data\Common\Internal\Materialization\Shaper.cs (9)
539
RecordState
recordState = (
RecordState
)this.State[recordStateSlotNumber];
549
RecordState
recordState = (
RecordState
)this.State[recordStateSlotNumber];
1063
IsObjectQuery = !(typeof(T) == typeof(
RecordState
));
1592
private class RecordStateEnumerator : IEnumerator<
RecordState
>
1595
private
RecordState
_current;
1612
public
RecordState
Current
1656
_current = ((Coordinator<
RecordState
>)currentCoordinator).Current;
System\Data\Common\Internal\Materialization\Translator.cs (8)
347
result = typeof(
RecordState
);
362
result = typeof(Coordinator<
RecordState
>);
395
result = typeof(
RecordState
);
563
private static readonly MethodInfo RecordState_GatherData = typeof(
RecordState
).GetMethod("GatherData", BindingFlags.NonPublic | BindingFlags.Instance);
564
private static readonly MethodInfo RecordState_SetNullRecord = typeof(
RecordState
).GetMethod("SetNullRecord", BindingFlags.NonPublic | BindingFlags.Instance);
1643
Expression result = Expression.Call(Emit_Shaper_GetState(stateSlotNumber, typeof(
RecordState
)), RecordState_GatherData, Shaper_Parameter);
1649
Expression nullResult = Expression.Call(Emit_Shaper_GetState(stateSlotNumber, typeof(
RecordState
)), RecordState_SetNullRecord, Shaper_Parameter);
1930
result = typeof(
RecordState
);
System\Data\Query\ResultAssembly\BridgeDataReader.cs (21)
33
private Shaper<
RecordState
> Shaper;
39
private IEnumerator<KeyValuePair<Shaper<
RecordState
>, CoordinatorFactory<
RecordState
>>> NextResultShaperInfoEnumerator;
44
private CoordinatorFactory<
RecordState
> CoordinatorFactory;
49
private
RecordState
DefaultRecordState;
78
internal BridgeDataReader(Shaper<
RecordState
> shaper, CoordinatorFactory<
RecordState
> coordinatorFactory, int depth, IEnumerator<KeyValuePair<Shaper<
RecordState
>, CoordinatorFactory<
RecordState
>>> nextResultShaperInfos)
88
private void SetShaper(Shaper<
RecordState
> shaper, CoordinatorFactory<
RecordState
> coordinatorFactory, int depth)
103
RecordState
currentRecord = Shaper.RootEnumerator.Current;
135
private static KeyValuePair<Shaper<
RecordState
>, CoordinatorFactory<
RecordState
>> CreateShaperInfo(DbDataReader storeDataReader, ColumnMap columnMap, MetadataWorkspace workspace)
144
ShaperFactory<
RecordState
> shaperFactory = Translator.TranslateColumnMap<
RecordState
>(cacheManager, columnMap, workspace, null, NoTracking, true);
145
Shaper<
RecordState
> recordShaper = shaperFactory.Create(storeDataReader, null, workspace, System.Data.Objects.MergeOption.NoTracking, true);
147
return new KeyValuePair<Shaper<
RecordState
>, CoordinatorFactory<
RecordState
>>(recordShaper, recordShaper.RootCoordinator.TypedCoordinatorFactory);
150
private static IEnumerable<KeyValuePair<Shaper<
RecordState
>, CoordinatorFactory<
RecordState
>>> GetNextResultShaperInfo(DbDataReader storeDataReader, MetadataWorkspace workspace, IEnumerable<ColumnMap> nextResultColumnMaps)
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (10)
39
private readonly Shaper<
RecordState
> Shaper;
46
private
RecordState
_source;
90
internal BridgeDataRecord(Shaper<
RecordState
> shaper, int depth)
145
internal void SetRecordSource(
RecordState
newSource, bool hasData) {
332
RecordState
recordState = _source.CurrentColumnValues[ordinal] as
RecordState
;
455
RecordState
recordState = result as
RecordState
;
469
Coordinator<
RecordState
> coordinator = result as Coordinator<
RecordState
>;