System.Web.UI.WebControls.ObjectDataSourceView: Method Members

The methods of System.Web.UI.WebControls.ObjectDataSourceView are listed below. For a list of all members, see the ObjectDataSourceView Members list.

See Also: Inherited members from System.Web.UI.DataSourceView

Public Methods

Delete(IDictionary, IDictionary) : int

Performs a delete operation by calling the business object method that is identified by the ObjectDataSourceView.DeleteMethod property using the specified keys and oldValues collections.

Insert(IDictionary) : int

Performs an insert operation by calling the business object method that is identified by the ObjectDataSourceView.InsertMethod property using the specified values collection.

Select(System.Web.UI.DataSourceSelectArguments) : IEnumerable

Retrieves data from the object that is identified by the ObjectDataSourceView.TypeName property by calling the method that is identified by the ObjectDataSourceView.SelectMethod property and passing any values in the ObjectDataSourceView.SelectParameters collection.

Update(IDictionary, IDictionary, IDictionary) : int

Performs an update operation by calling the method that is identified by the ObjectDataSourceView.UpdateMethod property and using any parameters that are supplied in the keys, values, or oldValues collections.

Protected Methods

override
ExecuteDelete(IDictionary, IDictionary) : int

Performs a delete operation using the ObjectDataSourceView.DeleteMethod method and the specified keys and oldValues collection.

override
ExecuteInsert(IDictionary) : int

Performs an insert operation by calling the business object method that is identified by the ObjectDataSourceView.InsertMethod property using the specified values collection.

override
ExecuteSelect(System.Web.UI.DataSourceSelectArguments) : IEnumerable

Retrieves data from the object that is identified by the ObjectDataSourceView.TypeName property by calling the method that is identified by the ObjectDataSourceView.SelectMethod property and passing any values in the ObjectDataSourceView.SelectParameters collection.

override
ExecuteUpdate(IDictionary, IDictionary, IDictionary) : int

Performs an update operation by calling the method that is identified by the ObjectDataSourceView.UpdateMethod property and using any parameters that are supplied in the keys, values, or oldValues collections.

LoadViewState(object)

Restores previously saved view state for the data source view.

OnDeleted(ObjectDataSourceStatusEventArgs)

Raises the ObjectDataSourceView.Deleted event after the System.Web.UI.WebControls.ObjectDataSourceView object has completed a delete operation.

OnDeleting(ObjectDataSourceMethodEventArgs)

Raises the ObjectDataSourceView.Deleting event before the System.Web.UI.WebControls.ObjectDataSourceView object attempts a delete operation.

OnFiltering(ObjectDataSourceFilteringEventArgs)

Raises the ObjectDataSourceView.Filtering event before the System.Web.UI.WebControls.ObjectDataSourceView object attempts a filtering operation.

OnInserted(ObjectDataSourceStatusEventArgs)

Raises the ObjectDataSourceView.Inserted event after the System.Web.UI.WebControls.ObjectDataSourceView object has completed an insert operation.

OnInserting(ObjectDataSourceMethodEventArgs)

Raises the ObjectDataSourceView.Inserting event before the System.Web.UI.WebControls.ObjectDataSourceView object attempts an insert operation.

OnObjectCreated(ObjectDataSourceEventArgs)

Raises the ObjectDataSourceView.ObjectCreated event after the System.Web.UI.WebControls.ObjectDataSourceView creates an instance of the object that is identified by the ObjectDataSourceView.TypeName property.

OnObjectCreating(ObjectDataSourceEventArgs)

Raises the ObjectDataSourceView.ObjectCreating event before the System.Web.UI.WebControls.ObjectDataSourceView object creates an instance of a business object to perform a data operation.

OnObjectDisposing(ObjectDataSourceDisposingEventArgs)

Raises the ObjectDataSourceView.ObjectDisposing event before the System.Web.UI.WebControls.ObjectDataSourceView object discards an instantiated type.

OnSelected(ObjectDataSourceStatusEventArgs)

Raises the ObjectDataSourceView.Selected event after the System.Web.UI.WebControls.ObjectDataSourceView object has completed a data retrieval operation.

OnSelecting(ObjectDataSourceSelectingEventArgs)

Raises the ObjectDataSourceView.Selecting event before the System.Web.UI.WebControls.ObjectDataSourceView object attempts a data retrieval operation.

OnUpdated(ObjectDataSourceStatusEventArgs)

Raises the ObjectDataSourceView.Updated event after the System.Web.UI.WebControls.ObjectDataSourceView object has completed an update operation.

OnUpdating(ObjectDataSourceMethodEventArgs)

Raises the ObjectDataSourceView.Updating event before the System.Web.UI.WebControls.ObjectDataSourceView object attempts an update operation.

SaveViewState() : object

Saves the changes to the view state for the System.Web.UI.WebControls.ObjectDataSourceView object since the time when the page was posted back to the server.

TrackViewState()

Causes the System.Web.UI.WebControls.ObjectDataSourceView object to track changes to its view state so that the changes can be stored in the System.Web.UI.Control.ViewState object for the control and persisted across requests for the same page.