1 write to _parameters
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
754
this.
_parameters
= new SqlParameterCollection();
41 references to _parameters
System.Data (41)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (41)
751
if (null == this.
_parameters
) {
756
return this.
_parameters
;
851
&& (0 == GetParameterCount (
_parameters
))
874
if (null !=
_parameters
) {
875
int count =
_parameters
.Count;
877
_parameters
[i].Prepare(this); // MDAC 67063
1545
if ((System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(
_parameters
))) {
1639
else if (!ShouldUseEnclaveBasedWorkflow && !BatchRPCMode && (System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(
_parameters
))) {
2959
this.
_parameters
.Add(temp);
3223
if (
_parameters
!= null) {
3224
for (int i = 0; i <
_parameters
.Count; i++) {
3225
_parameters
[i].CipherMetadata = null;
3226
_parameters
[i].HasReceivedMetadata = false;
3300
if (!BatchRPCMode && !inRetry && (this.
_parameters
!= null && this.
_parameters
.Count > 0) && SqlQueryMetadataCache.GetInstance().GetQueryMetadataIfExists(this)) {
3636
else if (ShouldUseEnclaveBasedWorkflow || (0 != GetParameterCount(
_parameters
))) {
3642
GetRPCObject(GetParameterCount(
_parameters
), ref rpc);
3649
if (
_parameters
!= null)
3651
foreach (SqlParameter sqlParam in
_parameters
) {
3759
if (
_parameters
!= null) {
3760
for (int i = 0; i <
_parameters
.Count; i++) {
4091
if (!BatchRPCMode && !requiresEnclaveComputations && (this.
_parameters
!= null && this.
_parameters
.Count > 0) ) {
4436
else if ((System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(
_parameters
))) {
4488
BuildExecuteSql(cmdBehavior, null,
_parameters
, ref rpc);
4509
BuildRPC(inSchema,
_parameters
, ref rpc);
5098
SqlParameterCollection parameters =
_parameters
;
5128
if (!BatchRPCMode && CachingQueryMetadataPostponed && !requiresEnclaveComputations && (this.
_parameters
!= null && this.
_parameters
.Count > 0) ) {
5327
return
_parameters
;
5475
int count = CountSendableParameters(
_parameters
);
5491
string paramList = BuildParamList(_stateObj.Parser,
_parameters
);
5502
SetUpRPCParameters (rpc, j, false,
_parameters
);
5593
int count = CountSendableParameters(
_parameters
);
5608
SetUpRPCParameters (rpc, j, inSchema,
_parameters
);
5645
string paramList = BuildParamList(_stateObj.Parser, BatchRPCMode ? parameters :
_parameters
);
5967
string paramList = BuildParamList(_stateObj.Parser,
_parameters
);
6023
((
_parameters
!= null) && (
_parameters
.IsDirty)) ||
6030
if (null !=
_parameters
) {
6031
_parameters
.IsDirty = _dirty;