Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelDataSourceView Methods

.NET Framework 4.5

The ModelDataSourceView type exposes the following members.

  Name Description
Public method CanExecute Determines whether the specified command can be executed. (Inherited from DataSourceView.)
Protected method CreateSelectResult Returns the result of a Select operation after converting it to an IEnumerable collection if it is not already one.
Public method Delete Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method EvaluateDeleteMethodParameters Invokes the Delete method and gets the result.
Protected method EvaluateInsertMethodParameters Invokes the insert method.
Protected method EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary) Evaluates the method parameters for model binding, using the data source operation, the data source method object, and the control values.
Protected method EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary, Boolean) Evaluates the method parameters for model binding, using the data source operation, the data source method object, the control values, and a value that indicates whether this method is called in the page's LoadComplete event handler.
Protected method EvaluateSelectMethodParameters Evaluates the select method parameters and also determines the options for processing the select result, such as auto paging and sorting behavior.
Protected method EvaluateUpdateMethodParameters Invokes the Update method and gets the result.
Protected method ExecuteCommand(String, IDictionary, IDictionary) Executes the specified command. (Inherited from DataSourceView.)
Public method ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) Executes the specified command. (Inherited from DataSourceView.)
Protected method ExecuteDelete Performs a delete operation using the DeleteMethod method. (Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).)
Protected method ExecuteInsert Performs an insert operation using the InsertMethod method. (Overrides DataSourceView.ExecuteInsert(IDictionary).)
Protected method ExecuteSelect Performs a select operation using the SelectMethod method. (Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).)
Protected method ExecuteUpdate Performs an update operation using the UpdateMethod method. (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.)
Protected method FindMethod Finds the method to be executed.
Protected method GetDeleteMethodResult Invokes the delete method and gets the result.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetInsertMethodResult Invokes the insert method and gets the result.
Protected method GetSelectMethodResult Invokes the select method and gets the result.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetUpdateMethodResult Invokes the update method and gets the result.
Public method Insert Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Protected method InvokeMethod Invokes a data method.
Protected method IsTrackingViewState Returns a value that indicates whether the control stores state in view state.
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 OnCallingDataMethods Raises the CallingDataMethods event.
Protected method OnDataSourceViewChanged Raises the DataSourceViewChanged event. (Inherited from DataSourceView.)
Protected method ProcessSelectMethodResult Performs operations on the select method result like auto paging and sorting if applicable.
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 ModelDataSourceView object since the time when the page was posted back to the server.
Public method Select Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TrackViewState Causes the ModelDataSourceView 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 Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Public method UpdateProperties Updates the specified properties using the values provided in the parameters.
Top
  Name Description
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
Show:
© 2014 Microsoft. All rights reserved.