23 references to ReturnImmediately
System.Data (23)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (8)
172
private RunBehavior _cachedRunBehavior = RunBehavior.
ReturnImmediately
;
208
_cachedRunBehavior = RunBehavior.
ReturnImmediately
;
1142
ds = RunExecuteReader(0, RunBehavior.
ReturnImmediately
, true, ADP.ExecuteScalar);
1711
ds = RunExecuteReader(CommandBehavior.SequentialAccess, RunBehavior.
ReturnImmediately
, true, ADP.ExecuteXmlReader);
1767
RunExecuteReader(behavior, RunBehavior.
ReturnImmediately
, true, ADP.BeginExecuteXmlReader, localCompletion, timeout, out writeTask, out usedCache, asyncWrite, inRetry);
2030
SqlDataReader result = RunExecuteReader(behavior, RunBehavior.
ReturnImmediately
, true, method);
2160
RunExecuteReader(behavior, RunBehavior.
ReturnImmediately
, true, ADP.BeginExecuteReader, localCompletion, timeout, out writeTask, out usedCache, asyncWrite, inRetry);
3674
runBehavior: RunBehavior.
ReturnImmediately
, // Other RunBehavior modes will skip reading rows.
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (9)
1130
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out ignored)) {
2812
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out ignored)) {
2887
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out ignored)) {
3180
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out _sharedState._dataReady)) {
3223
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out _sharedState._dataReady)) {
3713
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, this, null, _stateObj, out ignored)) {
3724
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, _command, null, null, _stateObj, out ignored)) {
3787
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, null, null, null, _stateObj, out ignored)) {
3802
if (!_parser.TryRun(RunBehavior.
ReturnImmediately
, null, null, null, _stateObj, out ignored)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
2047
if (RunBehavior.
ReturnImmediately
!= (RunBehavior.
ReturnImmediately
& runBehavior)) {
2237
else if (RunBehavior.
ReturnImmediately
!= (RunBehavior.
ReturnImmediately
& runBehavior)) {
2311
(RunBehavior.
ReturnImmediately
!= (RunBehavior.
ReturnImmediately
& runBehavior))) ||