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