92 references to SqlCommand
System.Data (5)
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\sqlinternaltransaction.cs (1)
335
using (SqlCommand transactionLevelCommand = new
SqlCommand
("set @out = @@trancount", (SqlConnection)(_innerConnection.Owner))) {
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
1050
var command = new
SqlCommand
(commandText, sqlConnection);
System.Web (86)
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);
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);