Base:
property
CommandType
System.Data.Common.DbCommand.CommandType
75 writes to CommandType
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
233
CommandType
= command.CommandType,
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (1)
282
this.sqlCommand.
CommandType
= this.GetSqlCommandType();
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
429
CommandType
= from.CommandType;
2783
paramsCmd.
CommandType
= CommandType.StoredProcedure;
6136
this.
CommandType
= cmdType;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1989
c.
CommandType
= CommandType.StoredProcedure;
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
102
command.
CommandType
= commandType;
System.Web (57)
Cache\SqlCacheDependency.cs (4)
1500
sqlCmd.
CommandType
= CommandType.StoredProcedure;
1516
sqlCmd.
CommandType
= CommandType.Text;
1528
sqlCmd.
CommandType
= CommandType.Text;
1692
sqlCmd.
CommandType
= CommandType.StoredProcedure;
DataAccess\SqlConnectionHelper.cs (1)
268
command.
CommandType
= CommandType.StoredProcedure;
Management\SqlServices.cs (1)
611
cmd.
CommandType
= CommandType.StoredProcedure;
Management\SqlWebEventProvider.cs (1)
188
sqlCommand.
CommandType
= CommandType.StoredProcedure;
Profile\SqlProfileProvider.cs (6)
166
cmd.
CommandType
= CommandType.StoredProcedure;
231
cmd.
CommandType
= CommandType.StoredProcedure;
341
cmd.
CommandType
= CommandType.StoredProcedure;
389
cmd.
CommandType
= CommandType.StoredProcedure;
423
cmd.
CommandType
= CommandType.StoredProcedure;
510
cmd.
CommandType
= CommandType.StoredProcedure;
Security\SQLMembershipProvider.cs (17)
364
cmd.
CommandType
= CommandType.StoredProcedure;
467
cmd.
CommandType
= CommandType.StoredProcedure;
624
cmd.
CommandType
= CommandType.StoredProcedure;
744
cmd.
CommandType
= CommandType.StoredProcedure;
824
cmd.
CommandType
= CommandType.StoredProcedure;
889
cmd.
CommandType
= CommandType.StoredProcedure;
941
cmd.
CommandType
= CommandType.StoredProcedure;
1029
cmd.
CommandType
= CommandType.StoredProcedure;
1120
cmd.
CommandType
= CommandType.StoredProcedure;
1174
cmd.
CommandType
= CommandType.StoredProcedure;
1239
cmd.
CommandType
= CommandType.StoredProcedure;
1321
cmd.
CommandType
= CommandType.StoredProcedure;
1376
cmd.
CommandType
= CommandType.StoredProcedure;
1474
cmd.
CommandType
= CommandType.StoredProcedure;
1584
cmd.
CommandType
= CommandType.StoredProcedure;
1645
cmd.
CommandType
= CommandType.StoredProcedure;
1725
cmd.
CommandType
= CommandType.StoredProcedure;
Security\SQLRoleProvider.cs (10)
115
cmd.
CommandType
= CommandType.StoredProcedure;
177
cmd.
CommandType
= CommandType.StoredProcedure;
245
cmd.
CommandType
= CommandType.StoredProcedure;
299
cmd.
CommandType
= CommandType.StoredProcedure;
350
cmd.
CommandType
= CommandType.StoredProcedure;
466
cmd.
CommandType
= CommandType.StoredProcedure;
578
cmd.
CommandType
= CommandType.StoredProcedure;
633
cmd.
CommandType
= CommandType.StoredProcedure;
702
cmd.
CommandType
= CommandType.StoredProcedure;
762
cmd.
CommandType
= CommandType.StoredProcedure;
State\sqlstateclientmanager.cs (15)
1004
cmd.
CommandType
= CommandType.Text;
1030
cmd.
CommandType
= CommandType.StoredProcedure;
1069
cmdTempGetAppId.
CommandType
= CommandType.StoredProcedure;
1284
_cmdTempGet.
CommandType
= CommandType.StoredProcedure;
1326
_cmdTempGetExclusive.
CommandType
= CommandType.StoredProcedure;
1367
_cmdTempReleaseExclusive.
CommandType
= CommandType.StoredProcedure;
1381
_cmdTempInsertLong.
CommandType
= CommandType.StoredProcedure;
1397
_cmdTempInsertShort.
CommandType
= CommandType.StoredProcedure;
1412
_cmdTempUpdateLong.
CommandType
= CommandType.StoredProcedure;
1429
_cmdTempUpdateShort.
CommandType
= CommandType.StoredProcedure;
1446
_cmdTempUpdateShortNullLong.
CommandType
= CommandType.StoredProcedure;
1462
_cmdTempUpdateLongNullShort.
CommandType
= CommandType.StoredProcedure;
1479
_cmdTempRemove.
CommandType
= CommandType.StoredProcedure;
1494
_cmdTempInsertUninitializedItem.
CommandType
= CommandType.StoredProcedure;
1510
_cmdTempResetTimeout.
CommandType
= CommandType.StoredProcedure;
UI\WebParts\SqlPersonalizationProvider.cs (1)
966
command.
CommandType
= CommandType.StoredProcedure;
Util\SecUtil.cs (1)
270
cmd.
CommandType
= CommandType.StoredProcedure;
System.Workflow.Runtime (6)
Tracking\SqlTrackingQuery.cs (2)
170
cmd.
CommandType
= CommandType.StoredProcedure;
184
cmd.
CommandType
= CommandType.StoredProcedure;
Tracking\SqlTrackingWorkflowInstance.cs (4)
551
cmd.
CommandType
= CommandType.StoredProcedure;
668
cmd.
CommandType
= CommandType.StoredProcedure;
763
cmd.
CommandType
= CommandType.StoredProcedure;
853
cmd.
CommandType
= CommandType.StoredProcedure;
System.WorkflowServices (5)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (5)
766
command.
CommandType
= CommandType.StoredProcedure;
843
command.
CommandType
= CommandType.StoredProcedure;
945
command.
CommandType
= CommandType.StoredProcedure;
1408
command.
CommandType
= CommandType.StoredProcedure;
1467
command.
CommandType
= CommandType.StoredProcedure;
29 references to CommandType
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
233
CommandType = command.
CommandType
,
System.Data (28)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (26)
429
CommandType = from.
CommandType
;
848
|| (this.
CommandType
== CommandType.StoredProcedure)
850
(System.Data.CommandType.Text == this.
CommandType
)
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))) {
2713
switch (this.
CommandType
) {
2722
throw ADP.InvalidCommandType(this.
CommandType
);
3731
if (
CommandType
== Data.CommandType.StoredProcedure) {
4423
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _sqlRPCParameterEncryptionReqArray, timeout, inSchema, this.Notification, _stateObj, CommandType.StoredProcedure ==
CommandType
, sync: !asyncWrite);
4434
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _SqlRPCBatchArray, timeout, inSchema, this.Notification, _stateObj, CommandType.StoredProcedure ==
CommandType
, sync: !asyncWrite );
4436
else if ((System.Data.CommandType.Text == this.
CommandType
) && (0 == GetParameterCount(_parameters))) {
4458
else if (System.Data.CommandType.Text == this.
CommandType
) {
4500
writeTask = _stateObj.Parser.TdsExecuteRPC(this, _rpcArrayOf1, timeout, inSchema, this.Notification, _stateObj, CommandType.StoredProcedure ==
CommandType
, sync:!asyncWrite);
4503
Debug.Assert(this.
CommandType
== System.Data.CommandType.StoredProcedure, "unknown command type!");
4535
writeTask=_stateObj.Parser.TdsExecuteRPC(this, _rpcArrayOf1, timeout, inSchema, this.Notification, _stateObj, CommandType.StoredProcedure ==
CommandType
, sync:!asyncWrite);
5425
parameter.Validate(ii, CommandType.StoredProcedure ==
CommandType
);
5471
Debug.Assert(System.Data.CommandType.Text == this.
CommandType
, "invalid use of sp_prepexec for stored proc invocation!");
5549
Debug.Assert(this.
CommandType
== System.Data.CommandType.StoredProcedure, "Command must be a stored proc to execute an RPC");
5620
Debug.Assert(System.Data.CommandType.Text == this.
CommandType
, "invalid use of sp_executesql for stored proc invocation!");
5664
Debug.Assert(
CommandType
== CommandType.StoredProcedure, "BuildStoredProcedureStatementForColumnEncryption() should only be called for stored procedures");
5750
sqlParam.Validate(i, CommandType.StoredProcedure ==
CommandType
);
5941
Debug.Assert(System.Data.CommandType.Text == this.
CommandType
, "invalid call to GetCommandText for stored proc!");
5951
Debug.Assert(System.Data.CommandType.Text == this.
CommandType
, "invalid use of sp_prepare for stored proc invocation!");
6219
param.Validate(index, CommandType.StoredProcedure ==
CommandType
);
6233
CommandType cmdType =
CommandType
;
6353
string commandText =
CommandType
== CommandType.StoredProcedure ? CommandText : string.Empty;
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (2)
122
CommandType commandType = command.
CommandType
;
202
LocalCommand cmd = new LocalCommand(cmdText, parameters, returnParameterIndex, command.
CommandType
, command.ColumnEncryptionSetting);