EntityDataSourceView Class
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)
| Name | Description | |
|---|---|---|
![]() | EntityDataSourceView(EntityDataSource, String) | Initializes a new instance of the EntityDataSourceView class, setting the specified EntityDataSource control as the owner of the current view. |
| 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(String) | Determines whether the specified command can be executed.(Inherited from DataSourceView.) |
![]() | Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) | 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(IDictionary, IDictionary) | Performs a delete operation.(Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).) |
![]() | ExecuteInsert(IDictionary) | Performs an insert operation.(Overrides DataSourceView.ExecuteInsert(IDictionary).) |
![]() | ExecuteSelect(DataSourceSelectArguments) | Performs a select operation.(Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).) |
![]() | ExecuteUpdate(IDictionary, IDictionary, IDictionary) | Performs an update operation.(Overrides DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary).) |
![]() | 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | GetViewSchema() | Returns a table that represents the EntityDataSourceView. |
![]() | Insert(IDictionary, DataSourceViewOperationCallback) | Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.) |
![]() | MemberwiseClone() | |
![]() | OnDataSourceViewChanged(EventArgs) | Raises the DataSourceViewChanged event.(Inherited from DataSourceView.) |
![]() | RaiseUnsupportedCapabilityError(DataSourceCapabilities) | Called by the RaiseUnsupportedCapabilitiesError method to compare the capabilities requested for an ExecuteSelect operation against those that the view supports.(Inherited from DataSourceView.) |
![]() | Select(DataSourceSelectArguments, DataSourceViewSelectCallback) | 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(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) | 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.LoadViewState(Object) | 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. |
![]() ![]() | IStateManager.IsTrackingViewState | Gets a value that indicates whether the EntityDataSourceView object is saving changes to its view state. |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







