4 writes to _command
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (4)
108
_command
= command;
829
_command
= null;
975
_command
= null; // we are done at this point, don't allow navigation to the connection
1075
_command
= null; // we are done at this point, don't allow navigation to the connection
28 references to _command
System.Data (28)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (28)
110
if (
_command
!= null) {
137
return
_command
;
353
if (null !=
_command
)
354
return
_command
.InternalRecordsAffected;
933
if (!parser.TryRun(RunBehavior.Clean,
_command
, this, null, stateObj, out ignored)) {
1070
if (
_command
!= null) {
1072
_recordsAffected =
_command
.InternalRecordsAffected;
1130
if (!_parser.TryRun(RunBehavior.ReturnImmediately,
_command
, this, null, _stateObj, out ignored)) {
2759
Debug.Assert(null !=
_command
, "unexpected null command from the data reader!");
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)) {
3380
_command
!= null ?
_command
.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting,
3517
_command
!= null ?
_command
.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting,
3530
_command
!= null ?
_command
.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting,
3687
Task executeTask = parser.TdsExecuteSQLBatch(_resetOptionsString, (
_command
!= null) ?
_command
.CommandTimeout : 0, null, stateObj, sync: true);
3691
parser.Run(RunBehavior.UntilDone,
_command
, this, null, stateObj);
3713
if (!_parser.TryRun(RunBehavior.ReturnImmediately,
_command
, this, null, _stateObj, out ignored)) {
3724
if (!_parser.TryRun(RunBehavior.ReturnImmediately,
_command
, null, null, _stateObj, out ignored)) {
3950
registration = cancellationToken.Register(
_command
.CancelIgnoreFailure);
4279
registration = cancellationToken.Register(
_command
.CancelIgnoreFailure);
4400
registration = cancellationToken.Register(
_command
.CancelIgnoreFailure);
4501
registration = cancellationToken.Register(
_command
.CancelIgnoreFailure);