This documentation is archived and is not being maintained.
EntityDataSourceView Class
Visual Studio 2010
Supports the EntityDataSource control and provides an interface for data-bound controls to perform queries and other operations against entity data.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
The EntityDataSourceView type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CanDelete | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the delete operation. (Overrides DataSourceView::CanDelete.) |
![]() | CanInsert | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the insert operation. (Overrides DataSourceView::CanInsert.) |
![]() | CanPage | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports paging of retrieved data. (Overrides DataSourceView::CanPage.) |
![]() | CanRetrieveTotalRowCount | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports retrieving the total number of data rows, in addition to retrieving the data. (Overrides DataSourceView::CanRetrieveTotalRowCount.) |
![]() | CanSort | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports a sorted view of the retrieved data. (Overrides DataSourceView::CanSort.) |
![]() | CanUpdate | Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the update operation. (Overrides DataSourceView::CanUpdate.) |
![]() | Events | Gets a list of event-handler delegates for the data source view. (Inherited from DataSourceView.) |
![]() | Name | Gets the name of the data source view. (Inherited from DataSourceView.) |
| Name | Description | |
|---|---|---|
![]() | CanExecute | Determines whether the specified command can be executed. (Inherited from DataSourceView.) |
![]() | Delete | Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ExecuteCommand(String, IDictionary, IDictionary) | Executes the specified command. (Inherited from DataSourceView.) |
![]() | ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) | Executes the specified command. (Inherited from DataSourceView.) |
![]() | ExecuteDelete | Performs a delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
![]() | ExecuteInsert | Performs an insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
![]() | ExecuteSelect | Gets a list of data from the underlying data storage. (Inherited from DataSourceView.) |
![]() | ExecuteUpdate | Performs an update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetViewSchema | Returns a table that represents the EntityDataSourceView. |
![]() | Insert | Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDataSourceViewChanged | Raises the DataSourceViewChanged event. (Inherited from DataSourceView.) |
![]() | RaiseUnsupportedCapabilityError | Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports. (Inherited from DataSourceView.) |
![]() | Select | Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update | Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.) |
| Name | Description | |
|---|---|---|
![]() | ContextCreated | Occurs when the EntityDataSourceView has finished creating the ObjectContext used to bind data to controls. |
![]() | ContextCreating | Occurs when the EntityDataSourceView creates the ObjectContext used in data binding. |
![]() | ContextDisposing | Occurs before an ObjectContext is disposed. |
![]() | DataSourceViewChanged | Occurs when the data source view has changed. (Inherited from DataSourceView.) |
![]() | Deleted | Occurs after an object has been deleted from the data source. |
![]() | Deleting | Occurs before an object is deleted from the data source. |
![]() | Exception | Occurs when validation fails in a partial methods or when an exception is raised. |
![]() | Inserted | Occurs after a new object is created at the data source. |
![]() | Inserting | Occurs before a new object is persisted to the data source. |
![]() | QueryCreated | Occurs after the EntityDataSource() has created an Entity SQL query that was specified during the configuration of the EntityDataSource control. |
![]() | Selected | Occurs after a query has been executed. |
![]() | Selecting | Occurs before a query is constructed and executed. |
![]() | Updated | Occurs after changes to an object have been persisted to the data source. |
![]() | Updating | Occurs before changes to an object are persisted to the data source. |
| Name | Description | |
|---|---|---|
![]() ![]() | IStateManager::IsTrackingViewState | Gets a value that indicates whether the EntityDataSourceView object is saving changes to its view state. |
![]() ![]() | IStateManager::LoadViewState | Restores the previously saved view state for the data source view. |
![]() ![]() | IStateManager::SaveViewState | Saves the changes to view state for the EntityDataSourceView control since the time that the page was posted back to the server. |
![]() ![]() | IStateManager::TrackViewState | Tracks view state changes. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:







