1 write to BatchRPCMode
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
260
BatchCommand.
BatchRPCMode
= true;
22 references to BatchRPCMode
System.Data (22)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (22)
1639
else if (!ShouldUseEnclaveBasedWorkflow && !
BatchRPCMode
&& (System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(_parameters))) {
3300
if (!
BatchRPCMode
&& !inRetry && (this._parameters!= null && this._parameters.Count > 0) && SqlQueryMetadataCache.GetInstance().GetQueryMetadataIfExists(this)) {
3345
Debug.Assert((describeParameterEncryptionRpcOriginalRpcMap != null) ==
BatchRPCMode
,
3593
if (
BatchRPCMode
) {
3723
if (
BatchRPCMode
) {
3748
if (
BatchRPCMode
) {
3816
Debug.Assert((describeParameterEncryptionRpcOriginalRpcMap != null) ==
BatchRPCMode
,
3832
if (
BatchRPCMode
) {
3949
if (
BatchRPCMode
) {
3971
parameterStartIndex = (
BatchRPCMode
? 2 : 0);
4081
if (
BatchRPCMode
) {
4091
if (!
BatchRPCMode
&& !requiresEnclaveComputations && (this._parameters!= null && this._parameters.Count > 0) ) {
4425
else if (
BatchRPCMode
) {
5015
if (
BatchRPCMode
) {
5052
if (
BatchRPCMode
) {
5099
if (
BatchRPCMode
) {
5128
if (!
BatchRPCMode
&& CachingQueryMetadataPostponed && !requiresEnclaveComputations && (this._parameters!= null && this._parameters.Count > 0) ) {
5317
if (
BatchRPCMode
) {
5645
string paramList = BuildParamList(_stateObj.Parser,
BatchRPCMode
? parameters : _parameters);
6129
Debug.Assert(
BatchRPCMode
, "Command is not in batch RPC Mode");
6158
Debug.Assert(
BatchRPCMode
, "Command is not in batch RPC Mode");
6167
Debug.Assert(
BatchRPCMode
, "Command is not in batch RPC Mode");