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