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