Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

ObjectDataSourceView Methods

The ObjectDataSourceView type exposes the following members.

  NameDescription
Public method Delete Overloaded. Performs a delete operation by calling the business object method that is identified by the DeleteMethod property using any specified delete parameters.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExecuteDelete Performs a delete operation using the DeleteMethod method and the specified keys and oldValues collection. (Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).)
Protected method ExecuteInsert Performs an insert operation by calling the business object method that is identified by the InsertMethod property using the specified values collection. (Overrides DataSourceView.ExecuteInsert(IDictionary).)
Protected method ExecuteSelect 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. (Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).)
Protected method ExecuteUpdate 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. (Overrides DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Insert Overloaded. Performs an insert operation by calling the business object method that is identified by the InsertMethod property using any specified insert parameters.
Protected method LoadViewState Restores previously saved view state for the data source view.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDataSourceViewChanged Raises the DataSourceViewChanged event. (Inherited from DataSourceView.)
Protected method OnDeleted Raises the Deleted event after the ObjectDataSourceView object has completed a delete operation.
Protected method OnDeleting Raises the Deleting event before the ObjectDataSourceView object attempts a delete operation.
Protected method OnFiltering Raises the Filtering event before the ObjectDataSourceView object attempts a filtering operation.
Protected method OnInserted Raises the Inserted event after the ObjectDataSourceView object has completed an insert operation.
Protected method OnInserting Raises the Inserting event before the ObjectDataSourceView object attempts an insert operation.
Protected method OnObjectCreated Raises the ObjectCreated event after the ObjectDataSourceView creates an instance of the object that is identified by the TypeName property.
Protected method OnObjectCreating Raises the ObjectCreating event before the ObjectDataSourceView object creates an instance of a business object to perform a data operation.
Protected method OnObjectDisposing Raises the ObjectDisposing event before the ObjectDataSourceView object discards an instantiated type.
Protected method OnSelected Raises the Selected event after the ObjectDataSourceView object has completed a data retrieval operation.
Protected method OnSelecting Raises the Selecting event before the ObjectDataSourceView object attempts a data retrieval operation.
Protected method OnUpdated Raises the Updated event after the ObjectDataSourceView object has completed an update operation.
Protected method OnUpdating Raises the Updating event before the ObjectDataSourceView object attempts an update operation.
Protected method RaiseUnsupportedCapabilityError Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports. (Inherited from DataSourceView.)
Protected method SaveViewState Saves the changes to the view state for the ObjectDataSourceView object since the time when the page was posted back to the server.
Public method 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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method 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.
Public method Update Overloaded. Performs an update operation by calling the business object method that is identified by the UpdateMethod property using any specified update parameters.
Top
  NameDescription
Explicit interface implemetation Private method IStateManager.LoadViewState Infrastructure. For a description of this member, see IStateManager.LoadViewState.
Explicit interface implemetation Private method IStateManager.SaveViewState Infrastructure. For a description of this member, see IStateManager.SaveViewState.
Explicit interface implemetation Private method IStateManager.TrackViewState Infrastructure. For a description of this member, see IStateManager.TrackViewState.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.