ObjectDataSourceView Members
.NET Framework 2.0
Supports the ObjectDataSource control and provides an interface for data-bound controls to perform data operations with business and data objects.
The following tables list the members exposed by the ObjectDataSourceView type.
| Name | Description | |
|---|---|---|
| ObjectDataSourceView | Initializes a new instance of the ObjectDataSourceView class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| CanDelete | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the delete operation. |
| CanInsert | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the insert operation. |
| CanPage | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports paging through the retrieved data. |
| CanRetrieveTotalRowCount | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports retrieving the total number of data rows, in addition to the set of data. |
| CanSort | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports a sorted view on the underlying data source. |
| CanUpdate | Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the update operation. |
| ConflictDetection | Gets or sets a value that determines how the ObjectDataSource control performs updates and deletes when data in a row in the underlying data storage changes during the time of the operation. |
| ConvertNullToDBNull | Gets or sets a value indicating whether Parameter values that are passed to an update, insert, or delete operation are automatically converted from a null reference (Nothing in Visual Basic) to the Value value. |
| DataObjectTypeName | Gets or sets the name of a class that the ObjectDataSource control uses for a parameter in a data operation. The ObjectDataSource control uses the specified class instead of the Parameter objects that are in the various parameters collections. |
| DeleteMethod | Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to delete data. |
| DeleteParameters | Gets the parameters collection that contains the parameters that are used by the DeleteMethod method. |
| EnablePaging | Gets or sets a value indicating whether the data source control supports paging through the set of data that it retrieves. |
| FilterExpression | Gets or sets a filtering expression that is applied when the business object method that is identified by the SelectMethod property is called. |
| FilterParameters | Gets a collection of parameters that are associated with any parameter placeholders that are in the FilterExpression string. |
| InsertMethod | Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to insert data. |
| InsertParameters | Gets the parameters collection that contains the parameters that are used by the InsertMethod method. |
| MaximumRowsParameterName | Gets or sets the name of the data retrieval method parameter that is used to indicate the number of records to retrieve for data source paging support. |
| Name | Gets the name of the data source view.(Inherited from DataSourceView.) |
| OldValuesParameterFormatString | Gets or sets a format string to apply to the names of the parameters for original values that are passed to the Delete or Update methods. |
| SelectCountMethod | Gets or sets the name of the method or function that the ObjectDataSourceView control invokes to retrieve a row count. |
| SelectMethod | Gets or sets the name of the method or function that the ObjectDataSourceView control invokes to retrieve data. |
| SelectParameters | Gets the parameters collection containing the parameters that are used by the SelectMethod method. |
| SortParameterName | Gets or sets the name of the data retrieval method parameter that is used to specify a sort expression for data source sorting support. |
| StartRowIndexParameterName | Gets or sets the name of the data retrieval method parameter that is used to indicate the integer index of the first record to retrieve from the results set for data source paging support. |
| TypeName | Gets or sets the name of the class that the ObjectDataSource control represents. |
| UpdateMethod | Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to update data. |
| UpdateParameters | Gets the parameters collection containing the parameters that are used by the UpdateMethod method. |
| Name | Description | |
|---|---|---|
| Events | Gets a list of event-handler delegates for the data source view.(Inherited from DataSourceView.) |
| IsTrackingViewState | Gets a value indicating whether the ObjectDataSourceView object is saving changes to its view state. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Delete | Overloaded. Performs a delete operation by calling the business object method that is identified by the DeleteMethod property using any specified delete parameters. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| Insert | Overloaded. Performs an insert operation by calling the business object method that is identified by the InsertMethod property using any specified insert parameters. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Select | Overloaded. Retrieves data from the object that is identified by the TypeName property by calling the method that is identified by the SelectMethod property. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Update | Overloaded. Performs an update operation by calling the business object method that is identified by the UpdateMethod property using any specified update parameters. |
| Name | Description | |
|---|---|---|
| ExecuteDelete | Overridden. Performs a delete operation using the DeleteMethod method and the specified keys and oldValues collection. |
| ExecuteInsert | Overridden. Performs an insert operation by calling the business object method that is identified by the InsertMethod property using the specified values collection. |
| ExecuteSelect | Overridden. Retrieves data from the object that is identified by the TypeName property by calling the method that is identified by the SelectMethod property and passing any values in the SelectParameters collection. |
| ExecuteUpdate | Overridden. Performs an update operation by calling the method that is identified by the UpdateMethod property and using any parameters that are supplied in the keys, values, or oldValues collections. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| LoadViewState | Restores previously saved view state for the data source view. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| OnDataSourceViewChanged | Raises the DataSourceViewChanged event. (Inherited from DataSourceView.) |
| OnDeleted | Raises the Deleted event after the ObjectDataSourceView object has completed a delete operation. |
| OnDeleting | Raises the Deleting event before the ObjectDataSourceView object attempts a delete operation. |
| OnFiltering | Raises the Filtering event before the ObjectDataSourceView object attempts a filtering operation. |
| OnInserted | Raises the Inserted event after the ObjectDataSourceView object has completed an insert operation. |
| OnInserting | Raises the Inserting event before the ObjectDataSourceView object attempts an insert operation. |
| OnObjectCreated | Raises the ObjectCreated event after the ObjectDataSourceView creates an instance of the object that is identified by the TypeName property. |
| OnObjectCreating | Raises the ObjectCreating event before the ObjectDataSourceView object creates an instance of a business object to perform a data operation. |
| OnObjectDisposing | Raises the ObjectDisposing event before the ObjectDataSourceView object discards an instantiated type. |
| OnSelected | Raises the Selected event after the ObjectDataSourceView object has completed a data retrieval operation. |
| OnSelecting | Raises the Selecting event before the ObjectDataSourceView object attempts a data retrieval operation. |
| OnUpdated | Raises the Updated event after the ObjectDataSourceView object has completed an update operation. |
| OnUpdating | Raises the Updating event before the ObjectDataSourceView object attempts an update operation. |
| RaiseUnsupportedCapabilityError | Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports. (Inherited from DataSourceView.) |
| SaveViewState | Saves the changes to the view state for the ObjectDataSourceView object since the time when the page was posted back to the server. |
| TrackViewState | Causes the ObjectDataSourceView object to track changes to its view state so that the changes can be stored in the ViewState object for the control and persisted across requests for the same page. |
| Name | Description | |
|---|---|---|
| DataSourceViewChanged | Occurs when the data source view has changed.(Inherited from DataSourceView.) |
| Deleted | Occurs when a Delete operation has completed. |
| Deleting | Occurs before a Delete operation. |
| Filtering | Occurs before a filter operation. |
| Inserted | Occurs when an Insert operation has completed. |
| Inserting | Occurs before an Insert operation. |
| ObjectCreated | Occurs after the ObjectDataSourceView object creates an instance of the type that is identified by the TypeName property. |
| ObjectCreating | Occurs before the ObjectDataSourceView object creates an instance of the type that is identified by the TypeName property. |
| ObjectDisposing | Occurs when the ObjectDataSourceView object discards an instance of an object that it has created. |
| Selected | Occurs when a data retrieval operation has completed. |
| Selecting | Occurs before a data retrieval operation. |
| Updated | Occurs when an Update operation has completed. |
| Updating | Occurs before an Update operation. |
| Name | Description | |
|---|---|---|
| System.Web.UI.IStateManager.LoadViewState | For a description of this member, see IStateManager.LoadViewState. |
| System.Web.UI.IStateManager.SaveViewState | For a description of this member, see IStateManager.SaveViewState. |
| System.Web.UI.IStateManager.TrackViewState | For a description of this member, see IStateManager.TrackViewState. |
| System.Web.UI.IStateManager.IsTrackingViewState | For a description of this member, see IsTrackingViewState. |
Reference
ObjectDataSourceView ClassSystem.Web.UI.WebControls Namespace
ObjectDataSource Class
DataSourceView
Other Resources
Consuming EventsCommunity Additions
ADD
Show: