19 references to PositionState
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (19)
373
if(
PositionState
.AfterResults != _currentPosition )
395
return
PositionState
.AfterResults != _currentPosition;
444
PositionState
.AfterRows != _currentPosition && // Have we seen a statement completed event?
451
return
PositionState
.OnRow == _currentPosition;
928
private
PositionState
_currentPosition; // Where is the reader relative to incoming results?
968
_currentPosition =
PositionState
.BeforeResults;
1048
if (_currentPosition !=
PositionState
.OnRow) {
1065
return (
PositionState
.AfterResults == _currentPosition ||
PositionState
.BeforeResults == _currentPosition);
1069
Debug.Assert( _currentPosition !=
PositionState
.AfterResults );
1075
_currentPosition =
PositionState
.BeforeRows;
1101
Debug.Assert( _currentPosition !=
PositionState
.AfterResults );
1104
_currentPosition =
PositionState
.OnRow;
1108
Debug.Assert( _currentPosition !=
PositionState
.AfterResults );
1111
_currentPosition =
PositionState
.OnRow;
1115
Debug.Assert( _currentPosition !=
PositionState
.AfterResults );
1117
_currentPosition =
PositionState
.AfterRows;
1127
Debug.Assert( _currentPosition !=
PositionState
.AfterResults );
1131
_currentPosition =
PositionState
.AfterResults;