108 instantiations of SqlCommand
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
231
SqlCommand newCommand = new
SqlCommand
()
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (1)
279
this.sqlCommand = new
SqlCommand
();
System.Data (11)
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
32
return new
SqlCommand
();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
2782
paramsCmd = new
SqlCommand
(cmdText.ToString(), this.Connection, this.Transaction);
4781
SqlCommand clone = new
SqlCommand
(this);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
51
_batchCommand = new
SqlCommand
();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1146
return new
SqlCommand
(null, this);
1988
SqlCommand c = new
SqlCommand
(TdsEnums.SP_SDIDEBUG, this);
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (2)
42
SelectCommand = new
SqlCommand
(selectCommandText, connection);
46
SelectCommand = new
SqlCommand
(selectCommandText, selectConnection);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
142
_com = new
SqlCommand
();
360
SqlCommand com = new
SqlCommand
();
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
335
using (SqlCommand transactionLevelCommand = new
SqlCommand
("set @out = @@trancount", (SqlConnection)(_innerConnection.Owner))) {
System.Data.Entity (2)
System\Data\SqlClient\SqlProviderServices.cs (2)
96
SqlCommand command = new
SqlCommand
();
1050
var command = new
SqlCommand
(commandText, sqlConnection);
System.Web (87)
Cache\SqlCacheDependency.cs (3)
536
sqlCmd = new
SqlCommand
(SqlCacheDependencyManager.SQL_POLLING_SP_DBO, holder.Connection);
1496
sqlCmd = new
SqlCommand
(null, sqlConnection);
1691
sqlCmd = new
SqlCommand
(SQL_QUERY_REGISTERED_TABLES_SP_DBO, sqlConn);
DataAccess\SqlConnectionHelper.cs (2)
265
SqlCommand command = new
SqlCommand
("USE master", connection);
267
command = new
SqlCommand
("sp_detach_db", connection);
Management\SqlServices.cs (3)
412
sqlCmd = new
SqlCommand
(null, connection);
558
cmd = new
SqlCommand
("SELECT DB_ID(@database)", sqlConnection);
609
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_AnyDataInTables", sqlConnection);
Management\SqlWebEventProvider.cs (1)
184
SqlCommand sqlCommand = new
SqlCommand
(SP_LOG_EVENT);
Profile\SqlProfileProvider.cs (9)
163
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Profile_GetProperties", holder.Connection);
228
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Profile_SetProperties", holder.Connection);
333
cmd = new
SqlCommand
("BEGIN TRANSACTION", holder.Connection);
338
cmd = new
SqlCommand
("dbo.aspnet_Profile_DeleteProfiles", holder.Connection);
351
cmd = new
SqlCommand
("COMMIT TRANSACTION", holder.Connection);
357
SqlCommand cmd = new
SqlCommand
("ROLLBACK TRANSACTION", holder.Connection);
386
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Profile_DeleteInactiveProfiles", holder.Connection);
420
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Profile_GetNumberOfInactiveProfiles", holder.Connection);
507
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Profile_GetProfiles", holder.Connection);
Security\SQLMembershipProvider.cs (17)
361
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_CreateUser", holder.Connection);
464
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_ChangePasswordQuestionAndAnswer", holder.Connection);
621
SqlCommand cmd = new
SqlCommand
( "dbo.aspnet_Membership_SetPassword", holder.Connection );
740
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_ResetPassword", holder.Connection);
821
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_UpdateUser", holder.Connection);
886
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_UnlockUser", holder.Connection);
938
SqlCommand cmd = new
SqlCommand
( "dbo.aspnet_Membership_GetUserByUserId", holder.Connection );
1026
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_GetUserByName", holder.Connection);
1115
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_GetUserByEmail", holder.Connection);
1171
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Users_DeleteUser", holder.Connection);
1234
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_GetAllUsers", holder.Connection);
1317
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_GetNumberOfUsersOnline", holder.Connection);
1371
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_FindUsersByName", holder.Connection);
1469
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Membership_FindUsersByEmail", holder.Connection);
1581
SqlCommand cmd = new
SqlCommand
( "dbo.aspnet_Membership_UpdateUserInfo", holder.Connection );
1642
SqlCommand cmd = new
SqlCommand
( "dbo.aspnet_Membership_GetPasswordWithFormat", holder.Connection );
1722
SqlCommand cmd = new
SqlCommand
( "dbo.aspnet_Membership_GetPassword", holder.Connection );
Security\SQLRoleProvider.cs (16)
114
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_IsUserInRole", holder.Connection);
172
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_GetRolesForUser", holder.Connection);
244
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Roles_CreateRole", holder.Connection);
297
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Roles_DeleteRole", holder.Connection);
348
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Roles_RoleExists", holder.Connection);
428
(new
SqlCommand
("BEGIN TRANSACTION", holder.Connection)).ExecuteNonQuery();
435
(new
SqlCommand
("COMMIT TRANSACTION", holder.Connection)).ExecuteNonQuery();
441
(new
SqlCommand
("ROLLBACK TRANSACTION", holder.Connection)).ExecuteNonQuery();
461
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_AddUsersToRoles", conn);
543
(new
SqlCommand
("BEGIN TRANSACTION", holder.Connection)).ExecuteNonQuery();
550
(new
SqlCommand
("COMMIT TRANSACTION", holder.Connection)).ExecuteNonQuery();
555
(new
SqlCommand
("ROLLBACK TRANSACTION", holder.Connection)).ExecuteNonQuery();
573
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_RemoveUsersFromRoles", conn);
628
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_GetUsersInRoles", holder.Connection);
697
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_Roles_GetAllRoles", holder.Connection);
757
SqlCommand cmd = new
SqlCommand
("dbo.aspnet_UsersInRoles_FindUsersInRole", holder.Connection);
State\sqlstateclientmanager.cs (15)
1003
cmd = new
SqlCommand
("Select name from sysobjects where type = 'P' and name = 'TempGetVersion'", sqlConnection);
1029
cmd = new
SqlCommand
("dbo.GetMajorVersion", sqlConnection);
1068
SqlCommand cmdTempGetAppId = new
SqlCommand
("dbo.TempGetAppID", sqlConnection);
1283
_cmdTempGet = new
SqlCommand
("dbo.TempGetStateItem3", _sqlConnection);
1325
_cmdTempGetExclusive = new
SqlCommand
("dbo.TempGetStateItemExclusive3", _sqlConnection);
1366
_cmdTempReleaseExclusive = new
SqlCommand
("dbo.TempReleaseStateItemExclusive", _sqlConnection);
1380
_cmdTempInsertLong = new
SqlCommand
("dbo.TempInsertStateItemLong", _sqlConnection);
1396
_cmdTempInsertShort = new
SqlCommand
("dbo.TempInsertStateItemShort", _sqlConnection);
1411
_cmdTempUpdateLong = new
SqlCommand
("dbo.TempUpdateStateItemLong", _sqlConnection);
1428
_cmdTempUpdateShort = new
SqlCommand
("dbo.TempUpdateStateItemShort", _sqlConnection);
1445
_cmdTempUpdateShortNullLong = new
SqlCommand
("dbo.TempUpdateStateItemShortNullLong", _sqlConnection);
1461
_cmdTempUpdateLongNullShort = new
SqlCommand
("dbo.TempUpdateStateItemLongNullShort", _sqlConnection);
1478
_cmdTempRemove = new
SqlCommand
("dbo.TempRemoveStateItem", _sqlConnection);
1493
_cmdTempInsertUninitializedItem = new
SqlCommand
("dbo.TempInsertUninitializedItem", _sqlConnection);
1509
_cmdTempResetTimeout = new
SqlCommand
("dbo.TempResetTimeout", _sqlConnection);
UI\WebParts\SqlPersonalizationProvider.cs (20)
88
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_FindState", connection);
208
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_FindState", connection);
314
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_GetCountOfState", connection);
390
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_GetCountOfState", connection);
510
command = new
SqlCommand
("dbo.aspnet_PersonalizationPerUser_GetPageSettings", connection);
513
command = new
SqlCommand
("dbo.aspnet_PersonalizationAllUsers_GetPageSettings", connection);
586
command = new
SqlCommand
("dbo.aspnet_PersonalizationPerUser_ResetPageSettings", connection);
589
command = new
SqlCommand
("dbo.aspnet_PersonalizationAllUsers_ResetPageSettings", connection);
644
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_DeleteAllState", connection);
696
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_ResetSharedState", connection);
708
(new
SqlCommand
("BEGIN TRANSACTION", connection)).ExecuteNonQuery();
721
(new
SqlCommand
("COMMIT TRANSACTION", connection)).ExecuteNonQuery();
727
(new
SqlCommand
("ROLLBACK TRANSACTION", connection)).ExecuteNonQuery();
809
SqlCommand command = new
SqlCommand
("dbo.aspnet_PersonalizationAdministration_ResetUserState", connection);
843
(new
SqlCommand
("BEGIN TRANSACTION", connection)).ExecuteNonQuery();
864
(new
SqlCommand
("BEGIN TRANSACTION", connection)).ExecuteNonQuery();
878
(new
SqlCommand
("COMMIT TRANSACTION", connection)).ExecuteNonQuery();
884
(new
SqlCommand
("ROLLBACK TRANSACTION", connection)).ExecuteNonQuery();
912
command = new
SqlCommand
("dbo.aspnet_PersonalizationPerUser_SetPageSettings", connection);
915
command = new
SqlCommand
("dbo.aspnet_PersonalizationAllUsers_SetPageSettings", connection);
Util\SecUtil.cs (1)
268
cmd = new
SqlCommand
("dbo.aspnet_CheckSchemaVersion", connection);
System.Workflow.Runtime (6)
Tracking\SqlTrackingQuery.cs (2)
169
SqlCommand cmd = new
SqlCommand
("[dbo].[GetWorkflows]");
183
SqlCommand cmd = new
SqlCommand
("[dbo].[GetWorkflows]");
Tracking\SqlTrackingWorkflowInstance.cs (4)
550
SqlCommand cmd = new
SqlCommand
();
667
cmd = new
SqlCommand
();
760
SqlCommand cmd = new
SqlCommand
();
852
SqlCommand cmd = new
SqlCommand
();
254 references to SqlCommand
System.Activities.DurableInstancing (22)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
56
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
33
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
44
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (1)
44
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (1)
43
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (2)
46
SqlCommand
command,
78
protected override void GenerateSqlCommand(
SqlCommand
command)
System\Activities\DurableInstancing\LoadWorkflowByKeyAsyncResult.cs (1)
29
protected override void GenerateSqlCommand(
SqlCommand
command)
System\Activities\DurableInstancing\RecoverInstanceLocksAsyncResult.cs (1)
43
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
65
protected override void GenerateSqlCommand(
SqlCommand
command)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (5)
56
SqlCommand
sqlCommand;
60
public SqlCommandAsyncResult(
SqlCommand
sqlCommand, string connectionString, EventTraceActivity eventTraceActivity, DependentTransaction dependentTransaction,
228
static
SqlCommand
CloneSqlCommand(
SqlCommand
command)
231
SqlCommand
newCommand = new SqlCommand()
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (2)
19
SqlCommand
sqlCommand;
123
protected abstract void GenerateSqlCommand(
SqlCommand
sqlCommand);
System\Activities\DurableInstancing\StoreUtilities.cs (1)
138
public static void TraceSqlCommand(
SqlCommand
command, bool isStarting)
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
56
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
37
protected override void GenerateSqlCommand(
SqlCommand
command)
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
32
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System\Activities\DurableInstancing\WorkflowOwnerAsyncResult.cs (1)
33
protected override void GenerateSqlCommand(
SqlCommand
sqlCommand)
System.Data (83)
fx\src\data\Microsoft\SqlServer\Server\sqlpipe.cs (1)
43
public void ExecuteAndSend(
SqlCommand
command ) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (6)
318
private
SqlCommand
_command;
320
internal CommandEventSink(
SqlCommand
command ) : base( ) {
426
private SqlCommand(
SqlCommand
from) : this() { // Clone
2737
SqlCommand
paramsCmd = null;
4780
public
SqlCommand
Clone() {
4781
SqlCommand
clone = new SqlCommand(this);
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (17)
139
new public
SqlCommand
GetInsertCommand() {
140
return (
SqlCommand
) base.GetInsertCommand();
142
new public
SqlCommand
GetInsertCommand(bool useColumnsForParameterNames) {
143
return (
SqlCommand
) base.GetInsertCommand(useColumnsForParameterNames);
146
new public
SqlCommand
GetUpdateCommand() {
147
return (
SqlCommand
) base.GetUpdateCommand();
149
new public
SqlCommand
GetUpdateCommand(bool useColumnsForParameterNames) {
150
return (
SqlCommand
) base.GetUpdateCommand(useColumnsForParameterNames);
153
new public
SqlCommand
GetDeleteCommand() {
154
return (
SqlCommand
) base.GetDeleteCommand();
156
new public
SqlCommand
GetDeleteCommand(bool useColumnsForParameterNames) {
157
return (
SqlCommand
) base.GetDeleteCommand(useColumnsForParameterNames);
206
static public void DeriveParameters(
SqlCommand
command) { // MDAC 65927\
275
SqlCommand
sqlCommand = srcCommand as
SqlCommand
;
295
SqlCommand
cmd = (
SqlCommand
) base.InitializeCommand(command);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (5)
28
private
SqlCommand
_batchCommand;
54
private
SqlCommand
BatchCommand {
56
SqlCommand
command = _batchCommand;
113
internal void Append(
SqlCommand
command) {
241
SqlCommand
command = _batchCommand;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
1145
new public
SqlCommand
CreateCommand() {
1695
internal void ValidateConnectionForExecute(string method,
SqlCommand
command) {
1988
SqlCommand
c = new SqlCommand(TdsEnums.SP_SDIDEBUG, this);
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (12)
27
private
SqlCommand
_deleteCommand, _insertCommand, _selectCommand, _updateCommand;
36
public SqlDataAdapter(
SqlCommand
selectCommand) : this() {
59
new public
SqlCommand
DeleteCommand {
66
set { _deleteCommand = (
SqlCommand
)value; }
75
new public
SqlCommand
InsertCommand {
82
set { _insertCommand = (
SqlCommand
)value; }
91
new public
SqlCommand
SelectCommand {
98
set { _selectCommand = (
SqlCommand
)value; }
121
new public
SqlCommand
UpdateCommand {
128
set { _updateCommand = (
SqlCommand
)value; }
170
_commandSet.Append((
SqlCommand
)command);
211
SqlCommand
command = SelectCommand;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
49
private
SqlCommand
_command;
104
internal SqlDataReader(
SqlCommand
command, CommandBehavior behavior)
135
internal
SqlCommand
Command {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
959
SqlCommand
parent, // command that owns reader
fx\src\data\System\Data\SqlClient\SqlDependency.cs (6)
282
public SqlDependency(
SqlCommand
command) : this(command, null, SQL.SqlDependencyTimeoutDefault) {
286
public SqlDependency(
SqlCommand
command, string options, int timeout) {
445
public void AddCommandDependency(
SqlCommand
command) {
1003
internal string ComputeHashAndAddToDispatcher(
SqlCommand
command) {
1100
private void AddCommandInternal(
SqlCommand
cmd) {
1152
private string ComputeCommandHash(string connectionString,
SqlCommand
command) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
46
private
SqlCommand
_com;
360
SqlCommand
com = new SqlCommand();
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (4)
660
internal SqlDataReader FindLiveReader(
SqlCommand
command) {
669
internal
SqlCommand
FindLiveCommand(TdsParserStateObject stateObj) {
670
SqlCommand
command = null;
729
abstract internal void ValidateConnectionForExecute(
SqlCommand
command);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
526
override internal void ValidateConnectionForExecute(
SqlCommand
command) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
697
override internal void ValidateConnectionForExecute(
SqlCommand
command) {
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
335
using (
SqlCommand
transactionLevelCommand = new SqlCommand("set @out = @@trancount", (SqlConnection)(_innerConnection.Owner))) {
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (2)
67
SqlCommand
command = connection.CreateCommand();
190
SqlCommand
command = connection.CreateCommand();
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1440
internal void Prepare(
SqlCommand
cmd) { // MDAC 67063
fx\src\data\System\Data\SqlClient\SqlReferenceCollection.cs (7)
26
Debug.Assert(CommandTag != tag || value is
SqlCommand
, "tag doesn't match object type: SqlCommand");
36
internal SqlDataReader FindLiveReader(
SqlCommand
command) {
48
internal
SqlCommand
FindLiveCommand(TdsParserStateObject stateObj) {
49
return FindItem<
SqlCommand
>(CommandTag, (command) => (command.StateObject == stateObj));
64
Debug.Assert(value is
SqlCommand
, "Incorrect object type");
65
((
SqlCommand
)value).OnConnectionClosed();
74
Debug.Assert(value is SqlDataReader || value is
SqlCommand
|| value is SqlBulkCopy, "SqlReferenceCollection.Remove expected a SqlDataReader or SqlCommand or SqlBulkCopy");
fx\src\data\System\Data\SqlClient\SqlRowUpdatedEvent.cs (2)
22
new public
SqlCommand
Command {
24
return(
SqlCommand
) base.Command;
fx\src\data\System\Data\SqlClient\SqlRowUpdatingEvent.cs (3)
20
new public
SqlCommand
Command {
21
get { return (base.Command as
SqlCommand
); }
27
set { base.BaseCommand = (value as
SqlCommand
); }
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
1734
internal bool RunReliably(RunBehavior runBehavior,
SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) {
1766
internal bool Run(RunBehavior runBehavior,
SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) {
1820
internal bool TryRun(RunBehavior runBehavior,
SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, out bool dataReady) {
2676
private bool TryProcessDone(
SqlCommand
cmd, SqlDataReader reader, ref RunBehavior run, TdsParserStateObject stateObj) {
8044
internal Task TdsExecuteRPC(
SqlCommand
cmd, _SqlRPC[] rpcArray, int timeout, bool inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, bool isCommandProc, bool sync = true,
System.Data.Entity (4)
System\Data\SqlClient\SqlProviderServices.cs (4)
96
SqlCommand
command = new SqlCommand();
996
var
command = CreateCommand(conn, getDatabaseNamesScript, commandTimeout);
1042
private static
SqlCommand
CreateCommand(SqlConnection sqlConnection, string commandText, int? commandTimeout)
1050
var
command = new SqlCommand(commandText, sqlConnection);
System.Web (99)
Cache\SqlCacheDependency.cs (8)
105
public SqlCacheDependency(
SqlCommand
sqlCmd) {
182
void CreateSqlDep(
SqlCommand
sqlCmd) {
480
internal
SqlCommand
_sqlCmd;
512
internal void GetConnection(out SqlConnection sqlConn, out
SqlCommand
sqlCmd) {
553
internal void ReleaseConnection(ref SqlConnection sqlConn, ref
SqlCommand
sqlCmd, bool error) {
756
SqlCommand
sqlCmd = null;
1465
SqlCommand
sqlCmd = null;
1684
SqlCommand
sqlCmd = null;
DataAccess\SqlConnectionHelper.cs (1)
265
SqlCommand
command = new SqlCommand("USE master", connection);
Management\SqlServices.cs (3)
397
SqlCommand
sqlCmd;
554
SqlCommand
cmd;
609
SqlCommand
cmd = new SqlCommand("dbo.aspnet_AnyDataInTables", sqlConnection);
Management\SqlWebEventProvider.cs (3)
102
void PrepareParams(
SqlCommand
sqlCommand) {
120
void FillParams(
SqlCommand
sqlCommand, WebBaseEvent eventRaised) {
184
SqlCommand
sqlCommand = new SqlCommand(SP_LOG_EVENT);
Profile\SqlProfileProvider.cs (7)
163
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Profile_GetProperties", holder.Connection);
228
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Profile_SetProperties", holder.Connection);
316
SqlCommand
cmd;
357
SqlCommand
cmd = new SqlCommand("ROLLBACK TRANSACTION", holder.Connection);
386
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Profile_DeleteInactiveProfiles", holder.Connection);
420
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Profile_GetNumberOfInactiveProfiles", holder.Connection);
507
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Profile_GetProfiles", holder.Connection);
Security\SQLMembershipProvider.cs (17)
361
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_CreateUser", holder.Connection);
464
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_ChangePasswordQuestionAndAnswer", holder.Connection);
621
SqlCommand
cmd = new SqlCommand( "dbo.aspnet_Membership_SetPassword", holder.Connection );
740
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_ResetPassword", holder.Connection);
821
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_UpdateUser", holder.Connection);
886
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_UnlockUser", holder.Connection);
938
SqlCommand
cmd = new SqlCommand( "dbo.aspnet_Membership_GetUserByUserId", holder.Connection );
1026
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_GetUserByName", holder.Connection);
1115
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_GetUserByEmail", holder.Connection);
1171
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Users_DeleteUser", holder.Connection);
1234
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_GetAllUsers", holder.Connection);
1317
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_GetNumberOfUsersOnline", holder.Connection);
1371
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_FindUsersByName", holder.Connection);
1469
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Membership_FindUsersByEmail", holder.Connection);
1581
SqlCommand
cmd = new SqlCommand( "dbo.aspnet_Membership_UpdateUserInfo", holder.Connection );
1642
SqlCommand
cmd = new SqlCommand( "dbo.aspnet_Membership_GetPasswordWithFormat", holder.Connection );
1722
SqlCommand
cmd = new SqlCommand( "dbo.aspnet_Membership_GetPassword", holder.Connection );
Security\SQLRoleProvider.cs (11)
114
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_IsUserInRole", holder.Connection);
172
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_GetRolesForUser", holder.Connection);
244
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Roles_CreateRole", holder.Connection);
297
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Roles_DeleteRole", holder.Connection);
348
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Roles_RoleExists", holder.Connection);
461
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_AddUsersToRoles", conn);
573
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_RemoveUsersFromRoles", conn);
628
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_GetUsersInRoles", holder.Connection);
697
SqlCommand
cmd = new SqlCommand("dbo.aspnet_Roles_GetAllRoles", holder.Connection);
757
SqlCommand
cmd = new SqlCommand("dbo.aspnet_UsersInRoles_FindUsersInRole", holder.Connection);
847
private int GetReturnValue(
SqlCommand
cmd) {
State\sqlstateclientmanager.cs (35)
416
SqlCommand
cmd = null;
609
SqlCommand
cmd = conn.TempReleaseExclusive;
627
SqlCommand
cmd;
722
SqlCommand
cmd = conn.TempRemove;
743
SqlCommand
cmd = conn.TempResetTimeout;
776
SqlCommand
cmd = conn.TempInsertUninitializedItem;
873
static int SqlExecuteNonQueryWithRetry(
SqlCommand
cmd, bool ignoreInsertPKException, string id) {
912
static SqlDataReader SqlExecuteReaderWithRetry(
SqlCommand
cmd, CommandBehavior cmdBehavior) {
996
SqlCommand
cmd;
1068
SqlCommand
cmdTempGetAppId = new SqlCommand("dbo.TempGetAppID", sqlConnection);
1168
SqlCommand
_cmdTempGet;
1169
SqlCommand
_cmdTempGetExclusive;
1170
SqlCommand
_cmdTempReleaseExclusive;
1171
SqlCommand
_cmdTempInsertShort;
1172
SqlCommand
_cmdTempInsertLong;
1173
SqlCommand
_cmdTempUpdateShort;
1174
SqlCommand
_cmdTempUpdateShortNullLong;
1175
SqlCommand
_cmdTempUpdateLong;
1176
SqlCommand
_cmdTempUpdateLongNullShort;
1177
SqlCommand
_cmdTempRemove;
1178
SqlCommand
_cmdTempResetTimeout;
1179
SqlCommand
_cmdTempInsertUninitializedItem;
1268
internal void ClearAllParameters(
SqlCommand
cmd) {
1278
internal
SqlCommand
TempGet {
1320
internal
SqlCommand
TempGetExclusive {
1362
internal
SqlCommand
TempReleaseExclusive {
1377
internal
SqlCommand
TempInsertLong {
1392
internal
SqlCommand
TempInsertShort {
1408
internal
SqlCommand
TempUpdateLong {
1424
internal
SqlCommand
TempUpdateShort {
1442
internal
SqlCommand
TempUpdateShortNullLong {
1458
internal
SqlCommand
TempUpdateLongNullShort {
1474
internal
SqlCommand
TempRemove {
1490
internal
SqlCommand
TempInsertUninitializedItem {
1505
internal
SqlCommand
TempResetTimeout {
UI\WebControls\SqlDataSourceView.cs (2)
1016
if (!(command is System.Data.SqlClient.
SqlCommand
)) {
1019
cacheDependency = new SqlCacheDependency((System.Data.SqlClient.
SqlCommand
)command);
UI\WebParts\SqlPersonalizationProvider.cs (11)
88
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_FindState", connection);
208
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_FindState", connection);
314
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_GetCountOfState", connection);
390
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_GetCountOfState", connection);
507
SqlCommand
command;
583
SqlCommand
command;
644
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_DeleteAllState", connection);
696
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_ResetSharedState", connection);
809
SqlCommand
command = new SqlCommand("dbo.aspnet_PersonalizationAdministration_ResetUserState", connection);
909
SqlCommand
command;
965
private void SetCommandTypeAndTimeout(
SqlCommand
command) {
Util\SecUtil.cs (1)
264
SqlCommand
cmd = null;
System.Web.DataVisualization (7)
Common\General\Chart.cs (7)
406
dataSource is System.Data.SqlClient.
SqlCommand
||
538
else if (dataSource is System.Data.SqlClient.
SqlCommand
)
540
System.Data.SqlClient.
SqlCommand
command = (System.Data.SqlClient.
SqlCommand
)dataSource;
661
else if (dataSource is System.Data.SqlClient.
SqlCommand
)
663
System.Data.SqlClient.
SqlCommand
command = (System.Data.SqlClient.
SqlCommand
)dataSource;
System.Windows.Forms.DataVisualization (7)
Common\General\Chart.cs (7)
406
dataSource is System.Data.SqlClient.
SqlCommand
||
538
else if (dataSource is System.Data.SqlClient.
SqlCommand
)
540
System.Data.SqlClient.
SqlCommand
command = (System.Data.SqlClient.
SqlCommand
)dataSource;
661
else if (dataSource is System.Data.SqlClient.
SqlCommand
)
663
System.Data.SqlClient.
SqlCommand
command = (System.Data.SqlClient.
SqlCommand
)dataSource;
System.Workflow.Runtime (18)
Tracking\SqlTrackingQuery.cs (7)
50
SqlCommand
cmd = BuildCommand(workflowInstanceId);
95
SqlCommand
cmd = BuildCommand(options);
167
private
SqlCommand
BuildCommand(Guid workflowInstanceId)
169
SqlCommand
cmd = new SqlCommand("[dbo].[GetWorkflows]");
181
private
SqlCommand
BuildCommand(SqlTrackingQueryOptions opt)
183
SqlCommand
cmd = new SqlCommand("[dbo].[GetWorkflows]");
238
private void BuildArtifactParameters(
SqlCommand
cmd, IList<TrackingDataItemValue> artifacts)
Tracking\SqlTrackingWorkflowInstance.cs (11)
195
SqlCommand
cmd = CreateInternalIdDateTimeCommand("[dbo].[GetActivityEventsWithDetails]", _actMinDT);
330
SqlCommand
cmd = CreateInternalIdDateTimeCommand("[dbo].[GetUserEventsWithDetails]", _userMinDT);
476
SqlCommand
cmd = CreateInternalIdDateTimeCommand("[dbo].[GetWorkflowInstanceEventsWithDetails]", _instMinDT);
550
SqlCommand
cmd = new SqlCommand();
662
SqlCommand
cmd = null;
760
SqlCommand
cmd = new SqlCommand();
802
private void ExecuteRetried(
SqlCommand
cmd, LoadFromReader loader)
807
private void ExecuteRetried(
SqlCommand
cmd, LoadFromReader loader, object loadFromReaderParam)
842
private
SqlCommand
CreateInternalIdDateTimeCommand(string commandText, DateTime minDT)
847
private
SqlCommand
CreateInternalIdDateTimeCommand(string commandText, DateTime minDT, DateTime maxDT)
852
SqlCommand
cmd = new SqlCommand();
System.WorkflowServices (14)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (14)
30
List<
SqlCommand
> activeCommands;
223
foreach (
SqlCommand
command in this.activeCommands)
362
void CleanupCommand(
SqlCommand
command)
388
SqlCommand
CreateCommand(SqlConnection connection, TimeSpan timeout)
390
SqlCommand
command = connection.CreateCommand();
588
this.activeCommands = new List<
SqlCommand
>();
612
SqlCommand
command = CreateCommand(connection, timeoutHelper.RemainingTime());
756
public override void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters)
838
public override void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters)
937
public override void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters)
1022
SqlCommand
command;
1228
public abstract void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters);
1403
public override void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters)
1457
public override void SetupCommand(
SqlCommand
command, Guid id, params object[] additionalParameters)