This documentation is archived and is not being maintained.

ObjectDataSourceView Members

Supports the ObjectDataSource control and provides an interface for data-bound controls to perform data operations with business and data objects.

The ObjectDataSourceView type exposes the following members.

  NameDescription
Public method ObjectDataSourceView Initializes a new instance of the ObjectDataSourceView class.
Top

  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
Public property CanDelete Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the delete operation. (Overrides DataSourceView.CanDelete.)
Public property CanInsert Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the insert operation. (Overrides DataSourceView.CanInsert.)
Public property CanPage Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports paging through the retrieved data. (Overrides DataSourceView.CanPage.)
Public property 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. (Overrides DataSourceView.CanRetrieveTotalRowCount.)
Public property 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. (Overrides DataSourceView.CanSort.)
Public property CanUpdate Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the update operation. (Overrides DataSourceView.CanUpdate.)
Public property 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.
Public property ConvertNullToDBNull Gets or sets a value indicating whether Parameter values that are passed to an update, insert, or delete operation are automatically converted from null to the Value value.
Public property 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.
Public property DeleteMethod Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to delete data.
Public property DeleteParameters Gets the parameters collection that contains the parameters that are used by the DeleteMethod method.
Public property EnablePaging Gets or sets a value indicating whether the data source control supports paging through the set of data that it retrieves.
Protected property Events Gets a list of event-handler delegates for the data source view. (Inherited from DataSourceView.)
Public property FilterExpression Gets or sets a filtering expression that is applied when the business object method that is identified by the SelectMethod property is called.
Public property FilterParameters Gets a collection of parameters that are associated with any parameter placeholders that are in the FilterExpression string.
Public property InsertMethod Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to insert data.
Public property InsertParameters Gets the parameters collection that contains the parameters that are used by the InsertMethod method.
Protected property IsTrackingViewState Gets a value indicating whether the ObjectDataSourceView object is saving changes to its view state.
Public property 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.
Public property Name Gets the name of the data source view. (Inherited from DataSourceView.)
Public property 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.
Public property SelectCountMethod Gets or sets the name of the method or function that the ObjectDataSourceView control invokes to retrieve a row count.
Public property SelectMethod Gets or sets the name of the method or function that the ObjectDataSourceView control invokes to retrieve data.
Public property SelectParameters Gets the parameters collection containing the parameters that are used by the SelectMethod method.
Public property 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.
Public property 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.
Public property TypeName Gets or sets the name of the class that the ObjectDataSource control represents.
Public property UpdateMethod Gets or sets the name of the method or function that the ObjectDataSourceView object invokes to update data.
Public property UpdateParameters Gets the parameters collection containing the parameters that are used by the UpdateMethod method.
Top

  NameDescription
Public event DataSourceViewChanged Occurs when the data source view has changed. (Inherited from DataSourceView.)
Public event Deleted Occurs when a Delete operation has completed.
Public event Deleting Occurs before a Delete operation.
Public event Filtering Occurs before a filter operation.
Public event Inserted Occurs when an Insert operation has completed.
Public event Inserting Occurs before an Insert operation.
Public event ObjectCreated Occurs after the ObjectDataSourceView object creates an instance of the type that is identified by the TypeName property.
Public event ObjectCreating Occurs before the ObjectDataSourceView object creates an instance of the type that is identified by the TypeName property.
Public event ObjectDisposing Occurs when the ObjectDataSourceView object discards an instance of an object that it has created.
Public event Selected Occurs when a data retrieval operation has completed.
Public event Selecting Occurs before a data retrieval operation.
Public event Updated Occurs when an Update operation has completed.
Public event Updating Occurs before an Update operation.
Top

  NameDescription
Explicit interface implemetation Private property IStateManager.IsTrackingViewState For a description of this member, see IsTrackingViewState.
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
Show: