60 references to SequentialAccess
System.Data (41)
fx\src\data\System\Data\Common\DbDataAdapter.cs (4)
79
return (_fillCommandBehavior | CommandBehavior.
SequentialAccess
);
86
_fillCommandBehavior = (value | CommandBehavior.
SequentialAccess
);
529
behavior |= CommandBehavior.
SequentialAccess
;
1279
using(IDataReader dataReader = dataCommand.ExecuteReader(CommandBehavior.
SequentialAccess
)) {
fx\src\data\System\Data\Odbc\DbDataRecord.cs (1)
70
_randomaccess = (!record.IsBehavior(CommandBehavior.
SequentialAccess
));
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (2)
555
if (!IsCommandBehavior(CommandBehavior.
SequentialAccess
))
965
bool isRandomAccess = !IsCommandBehavior(CommandBehavior.
SequentialAccess
);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
359
behavior |= CommandBehavior.
SequentialAccess
;
407
behavior |= CommandBehavior.
SequentialAccess
| CommandBehavior.SingleRow;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
99
_sequentialAccess = (0 != (CommandBehavior.
SequentialAccess
& behavior)); // MDAC 60296
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1114
if ((metadata.type == SqlDbType.VarBinary) && (mtSource.IsBinType) && (mtSource.SqlDbType != SqlDbType.Timestamp) && _SqlDataReaderRowSource.IsCommandBehavior(CommandBehavior.
SequentialAccess
)) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
1711
ds = RunExecuteReader(CommandBehavior.
SequentialAccess
, RunBehavior.ReturnImmediately, true, ADP.ExecuteXmlReader);
1737
return BeginExecuteXmlReaderInternal(CommandBehavior.
SequentialAccess
, callback, stateObject, 0, inRetry: false);
1741
return BeginExecuteXmlReaderInternal(CommandBehavior.
SequentialAccess
, callback, stateObject, CommandTimeout, inRetry: false, asyncWrite: true);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (2)
290
if (0 != (behavior & ~(CommandBehavior.
SequentialAccess
|CommandBehavior.CloseConnection))) {
292
throw ADP.NotSupportedCommandBehavior(behavior & ~(CommandBehavior.
SequentialAccess
|CommandBehavior.CloseConnection), method);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (21)
1438
if (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) {
1475
if ((mt.SqlDbType != SqlDbType.Variant) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
))) {
1559
if (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) {
1891
if ((mt.SqlDbType != SqlDbType.Variant) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
))) {
1968
(IsCommandBehavior(CommandBehavior.
SequentialAccess
)) ) {
2012
if ((_sharedState._nextColumnDataToRead == (i+1)) && (_sharedState._nextColumnHeaderToRead == (i+1)) && (_columnDataChars != null) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && (dataIndex < _columnDataCharsRead)) {
2102
Debug.Assert (IsCommandBehavior(CommandBehavior.
SequentialAccess
), "GetCharsFromPlpData called for non-Sequential access");
2674
bool sequentialAccess = IsCommandBehavior(CommandBehavior.
SequentialAccess
);
2691
_commandBehavior &= ~CommandBehavior.
SequentialAccess
;
2712
_commandBehavior |= CommandBehavior.
SequentialAccess
;
2918
if ((IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && ((_sharedState._nextColumnHeaderToRead > i + 1) || (_lastColumnWithDataChunkRead > i))) {
3453
((i + 1 < _sharedState._nextColumnDataToRead) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
))) || // Or we're in sequential mode and we've read way past the column (i.e. it was not the last column we read)
3466
bool isSequentialAccess = IsCommandBehavior(CommandBehavior.
SequentialAccess
);
3892
if ((IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && // Only for sequential access
3912
if ((IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && // Only for sequential access
3928
Debug.Assert((!enforceSequentialAccess) || (!IsCommandBehavior(CommandBehavior.
SequentialAccess
)) || ((_sharedState._nextColumnDataToRead <= columnIndex) && (_lastColumnWithDataChunkRead <= columnIndex)), "Already read past column");
3996
Debug.Assert(IsCommandBehavior(CommandBehavior.
SequentialAccess
));
4232
if (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) {
4294
if (!more || (_commandBehavior & CommandBehavior.
SequentialAccess
) == CommandBehavior.
SequentialAccess
) {
4432
if ((!IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && (_sharedState._nextColumnDataToRead > i) && (!cancellationToken.IsCancellationRequested) && (_currentTask == null)) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (4)
232
if (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) {
860
if ((metaData.SqlDbType != SqlDbType.Variant) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && (!ValueUtilsSmi.IsDBNull(_readerEventSink, _currentColumnValuesV3, ordinal))) {
878
if ((metaData.SqlDbType != SqlDbType.Variant) && (IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && (!ValueUtilsSmi.IsDBNull(_readerEventSink, _currentColumnValuesV3, ordinal))) {
899
if ((IsCommandBehavior(CommandBehavior.
SequentialAccess
)) && (!ValueUtilsSmi.IsDBNull(_readerEventSink, _currentColumnValuesV3, ordinal))) {
System.Data.Entity (6)
System\Data\EntityClient\EntityCommand.cs (1)
512
using (EntityDataReader reader = ExecuteReader(CommandBehavior.
SequentialAccess
))
System\Data\EntityClient\EntityCommandDefinition.cs (3)
370
if (CommandBehavior.
SequentialAccess
!= (behavior & CommandBehavior.
SequentialAccess
)) {
476
reader = storeProviderCommand.ExecuteReader(behavior & ~CommandBehavior.
SequentialAccess
);
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
116
using (DbDataReader reader = command.ExecuteReader(CommandBehavior.
SequentialAccess
))
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
243
using (DbDataReader reader = m_dbCommand.ExecuteReader(CommandBehavior.
SequentialAccess
))
System.Data.Entity.Design (2)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
172
using (DbDataReader reader = command.ExecuteReader(CommandBehavior.
SequentialAccess
))
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
56
_reader = _command.ExecuteReader(CommandBehavior.
SequentialAccess
);
System.Web (11)
Profile\SqlProfileProvider.cs (1)
517
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
Security\SQLMembershipProvider.cs (4)
1128
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
1246
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
1384
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
1481
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
Security\SQLRoleProvider.cs (4)
185
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
641
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
709
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
771
reader = cmd.ExecuteReader(CommandBehavior.
SequentialAccess
);
UI\WebParts\SqlPersonalizationProvider.cs (2)
111
reader = command.ExecuteReader(CommandBehavior.
SequentialAccess
);
238
reader = command.ExecuteReader(CommandBehavior.
SequentialAccess
);