1 write to _owner
System.Web (1)
UI\WebControls\SqlDataSourceView.cs (1)
75_owner = owner;
47 references to _owner
System.Web (47)
UI\WebControls\SqlDataSourceView.cs (47)
133return (_owner.DataSourceMode == SqlDataSourceMode.DataSet) || (SortParameterName.Length > 0); 329if (String.IsNullOrEmpty(_owner.ProviderName) || 330String.Equals(_owner.ProviderName, "System.Data.SqlClient", StringComparison.OrdinalIgnoreCase)) { 662DbParameter dbParameter = _owner.CreateParameter(formattedParamName, value); 700return new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_MissingParameters, operation, _owner.ID, parameterNames)); 728DataSourceCache cache = _owner.Cache; 730_owner.InvalidateCacheEntry(); 794throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_DeleteNotSupported, _owner.ID)); 797DbConnection connection = _owner.CreateConnection(_owner.ConnectionString); 800throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID)); 805DbCommand command = _owner.CreateCommand(DeleteCommand, connection); 810throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_delete), _owner.ID, "values")); 837throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_InsertNotSupported, _owner.ID)); 840DbConnection connection = _owner.CreateConnection(_owner.ConnectionString); 843throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID)); 847DbCommand command = _owner.CreateCommand(InsertCommand, connection); 879DbConnection connection = _owner.CreateConnection(_owner.ConnectionString); 882throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID)); 885DataSourceCache cache = _owner.Cache; 906if (_owner.DataSourceMode != SqlDataSourceMode.DataSet) { 907throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_CacheNotSupported, _owner.ID)); 912DataSet dataSet = _owner.LoadDataFromCache(0, -1) as DataSet; 927IOrderedDictionary parameterValues = FilterParameters.GetValues(_context, _owner); 940DbCommand command = _owner.CreateCommand(SelectCommand, connection); 957throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_SortParameterRequiresStoredProcedure, _owner.ID)); 959command.Parameters.Add(_owner.CreateParameter(ParameterPrefix + sortParameterName, sortExpression)); 1009switch (_owner.DataSourceMode) { 1017throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CommandNotificationNotSupported, _owner.ID)); 1023DbDataAdapter adapter = _owner.CreateDataAdapter(command); 1066_owner.SaveDataToCache(0, -1, dataSet, cacheDependency); 1070IOrderedDictionary parameterValues = FilterParameters.GetValues(_context, _owner); 1086throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_FilterNotSupported, _owner.ID)); 1090throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_SortNotSupported, _owner.ID)); 1138throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_UpdateNotSupported, _owner.ID)); 1141DbConnection connection = _owner.CreateConnection(_owner.ConnectionString); 1144throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID)); 1149DbCommand command = _owner.CreateCommand(UpdateCommand, connection); 1155throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_update), _owner.ID, "oldValues")); 1205IOrderedDictionary values = parameters.GetValues(_context, _owner); 1209DbParameter dbParameter = _owner.CreateParameter(parameterPrefix + parameter.Name, values[i]); 1428throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoPaging, _owner.ID)); 1432throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoSorting, _owner.ID)); 1436throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoRowCount, _owner.ID));