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