93 references to Connection
System.Web (93)
Cache\SqlCacheDependency.cs (2)
536
sqlCmd = new SqlCommand(SqlCacheDependencyManager.SQL_POLLING_SP_DBO, holder.
Connection
);
538
sqlConn = holder.
Connection
;
DataAccess\SqlConnectionHelper.cs (3)
305
Connection
.Open();
309
Connection
.Open();
319
Connection
.Close();
Management\SqlWebEventProvider.cs (2)
186
CheckSchemaVersion(sqlConnHolder.
Connection
);
189
sqlCommand.Connection = sqlConnHolder.
Connection
;
Profile\SqlProfileProvider.cs (15)
162
CheckSchemaVersion(holder.
Connection
);
163
SqlCommand cmd = new SqlCommand("dbo.aspnet_Profile_GetProperties", holder.
Connection
);
226
CheckSchemaVersion( holder.
Connection
);
228
SqlCommand cmd = new SqlCommand("dbo.aspnet_Profile_SetProperties", holder.
Connection
);
314
CheckSchemaVersion( 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
);
384
CheckSchemaVersion( holder.
Connection
);
386
SqlCommand cmd = new SqlCommand("dbo.aspnet_Profile_DeleteInactiveProfiles", holder.
Connection
);
418
CheckSchemaVersion( holder.
Connection
);
420
SqlCommand cmd = new SqlCommand("dbo.aspnet_Profile_GetNumberOfInactiveProfiles", holder.
Connection
);
505
CheckSchemaVersion( holder.
Connection
);
507
SqlCommand cmd = new SqlCommand("dbo.aspnet_Profile_GetProfiles", holder.
Connection
);
Security\SQLMembershipProvider.cs (34)
358
CheckSchemaVersion( holder.
Connection
);
361
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_CreateUser", holder.
Connection
);
462
CheckSchemaVersion( holder.
Connection
);
464
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_ChangePasswordQuestionAndAnswer", holder.
Connection
);
619
CheckSchemaVersion( holder.
Connection
);
621
SqlCommand cmd = new SqlCommand( "dbo.aspnet_Membership_SetPassword", holder.
Connection
);
738
CheckSchemaVersion( holder.
Connection
);
740
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_ResetPassword", holder.
Connection
);
819
CheckSchemaVersion( holder.
Connection
);
821
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_UpdateUser", holder.
Connection
);
884
CheckSchemaVersion(holder.
Connection
);
886
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_UnlockUser", holder.
Connection
);
936
CheckSchemaVersion( holder.
Connection
);
938
SqlCommand cmd = new SqlCommand( "dbo.aspnet_Membership_GetUserByUserId", holder.
Connection
);
1024
CheckSchemaVersion( holder.
Connection
);
1026
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_GetUserByName", holder.
Connection
);
1113
CheckSchemaVersion( holder.
Connection
);
1115
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_GetUserByEmail", holder.
Connection
);
1170
CheckSchemaVersion( holder.
Connection
);
1171
SqlCommand cmd = new SqlCommand("dbo.aspnet_Users_DeleteUser", holder.
Connection
);
1232
CheckSchemaVersion( holder.
Connection
);
1234
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_GetAllUsers", holder.
Connection
);
1315
CheckSchemaVersion( holder.
Connection
);
1317
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_GetNumberOfUsersOnline", holder.
Connection
);
1369
CheckSchemaVersion( holder.
Connection
);
1371
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_FindUsersByName", holder.
Connection
);
1467
CheckSchemaVersion( holder.
Connection
);
1469
SqlCommand cmd = new SqlCommand("dbo.aspnet_Membership_FindUsersByEmail", holder.
Connection
);
1579
CheckSchemaVersion( holder.
Connection
);
1581
SqlCommand cmd = new SqlCommand( "dbo.aspnet_Membership_UpdateUserInfo", holder.
Connection
);
1640
CheckSchemaVersion( holder.
Connection
);
1642
SqlCommand cmd = new SqlCommand( "dbo.aspnet_Membership_GetPasswordWithFormat", holder.
Connection
);
1720
CheckSchemaVersion( holder.
Connection
);
1722
SqlCommand cmd = new SqlCommand( "dbo.aspnet_Membership_GetPassword", holder.
Connection
);
Security\SQLRoleProvider.cs (26)
112
CheckSchemaVersion( holder.
Connection
);
114
SqlCommand cmd = new SqlCommand("dbo.aspnet_UsersInRoles_IsUserInRole", holder.
Connection
);
170
CheckSchemaVersion( holder.
Connection
);
172
SqlCommand cmd = new SqlCommand("dbo.aspnet_UsersInRoles_GetRolesForUser", holder.
Connection
);
243
CheckSchemaVersion(holder.
Connection
);
244
SqlCommand cmd = new SqlCommand("dbo.aspnet_Roles_CreateRole", holder.
Connection
);
295
CheckSchemaVersion( holder.
Connection
);
297
SqlCommand cmd = new SqlCommand("dbo.aspnet_Roles_DeleteRole", holder.
Connection
);
346
CheckSchemaVersion( holder.
Connection
);
348
SqlCommand cmd = new SqlCommand("dbo.aspnet_Roles_RoleExists", holder.
Connection
);
400
CheckSchemaVersion(holder.
Connection
);
428
(new SqlCommand("BEGIN TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
431
AddUsersToRolesCore(holder.
Connection
, allUsers, allRoles);
435
(new SqlCommand("COMMIT TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
441
(new SqlCommand("ROLLBACK TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
518
CheckSchemaVersion( holder.
Connection
);
543
(new SqlCommand("BEGIN TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
546
RemoveUsersFromRolesCore(holder.
Connection
, allUsers, allRoles);
550
(new SqlCommand("COMMIT TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
555
(new SqlCommand("ROLLBACK TRANSACTION", holder.
Connection
)).ExecuteNonQuery();
626
CheckSchemaVersion( holder.
Connection
);
628
SqlCommand cmd = new SqlCommand("dbo.aspnet_UsersInRoles_GetUsersInRoles", holder.
Connection
);
695
CheckSchemaVersion( holder.
Connection
);
697
SqlCommand cmd = new SqlCommand("dbo.aspnet_Roles_GetAllRoles", holder.
Connection
);
755
CheckSchemaVersion( holder.
Connection
);
757
SqlCommand cmd = new SqlCommand("dbo.aspnet_UsersInRoles_FindUsersInRole", holder.
Connection
);
UI\WebParts\SqlPersonalizationProvider.cs (11)
83
connection = connectionHolder.
Connection
;
203
connection = connectionHolder.
Connection
;
291
connection = connectionHolder.
Connection
;
309
connection = connectionHolder.
Connection
;
385
connection = connectionHolder.
Connection
;
556
connection = connectionHolder.
Connection
;
612
connection = connectionHolder.
Connection
;
639
connection = connectionHolder.
Connection
;
691
connection = connectionHolder.
Connection
;
804
connection = connectionHolder.
Connection
;
939
connection = connectionHolder.
Connection
;