EntityDataSourceView EntityDataSourceView EntityDataSourceView EntityDataSourceView Class

Definition

Supports the EntityDataSource control and provides an interface for data-bound controls to perform queries and other operations against entity data.

public ref class EntityDataSourceView : System::Web::UI::DataSourceView, System::Web::UI::IStateManager
public class EntityDataSourceView : System.Web.UI.DataSourceView, System.Web.UI.IStateManager
type EntityDataSourceView = class
    inherit DataSourceView
    interface IStateManager
Public Class EntityDataSourceView
Inherits DataSourceView
Implements IStateManager
Inheritance
EntityDataSourceViewEntityDataSourceViewEntityDataSourceViewEntityDataSourceView
Implements

Constructors

EntityDataSourceView(EntityDataSource, String) EntityDataSourceView(EntityDataSource, String) EntityDataSourceView(EntityDataSource, String) EntityDataSourceView(EntityDataSource, String)

Initializes a new instance of the EntityDataSourceView class, setting the specified EntityDataSource control as the owner of the current view.

Properties

CanDelete CanDelete CanDelete CanDelete

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the delete operation.

CanInsert CanInsert CanInsert CanInsert

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the insert operation.

CanPage CanPage CanPage CanPage

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports paging of retrieved data.

CanRetrieveTotalRowCount CanRetrieveTotalRowCount CanRetrieveTotalRowCount 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.

CanSort CanSort CanSort 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.

CanUpdate CanUpdate CanUpdate CanUpdate

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the update operation.

Events Events Events Events

Gets a list of event-handler delegates for the data source view.

(Inherited from DataSourceView)
Name Name Name Name

Gets the name of the data source view.

(Inherited from DataSourceView)

Methods

CanExecute(String) CanExecute(String) CanExecute(String) CanExecute(String)

Determines whether the specified command can be executed.

(Inherited from DataSourceView)
Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Delete(IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary) ExecuteCommand(String, IDictionary, IDictionary)

Executes the specified command.

(Inherited from DataSourceView)
ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executes the specified command.

(Inherited from DataSourceView)
ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary) ExecuteDelete(IDictionary, IDictionary)

Performs a delete operation.

ExecuteInsert(IDictionary) ExecuteInsert(IDictionary) ExecuteInsert(IDictionary) ExecuteInsert(IDictionary)

Performs an insert operation.

ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments) ExecuteSelect(DataSourceSelectArguments)

Performs a select operation.

ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary) ExecuteUpdate(IDictionary, IDictionary, IDictionary)

Performs an update operation.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetViewSchema() GetViewSchema() GetViewSchema() GetViewSchema()

Returns a table that represents the EntityDataSourceView.

Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback) Insert(IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs) OnDataSourceViewChanged(EventArgs)

Raises the DataSourceViewChanged event.

(Inherited from DataSourceView)
RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities) RaiseUnsupportedCapabilityError(DataSourceCapabilities)

Called by the RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports.

(Inherited from DataSourceView)
Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Select(DataSourceSelectArguments, DataSourceViewSelectCallback)

Gets a list of data asynchronously from the underlying data storage.

(Inherited from DataSourceView)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous update operation on the list of data that the DataSourceView object represents.

(Inherited from DataSourceView)

Events

ContextCreated ContextCreated ContextCreated ContextCreated

Occurs when the EntityDataSourceView has finished creating the ObjectContext used to bind data to controls.

ContextCreating ContextCreating ContextCreating ContextCreating

Occurs when the EntityDataSourceView creates the ObjectContext used in data binding.

ContextDisposing ContextDisposing ContextDisposing ContextDisposing

Occurs before an ObjectContext is disposed.

DataSourceViewChanged DataSourceViewChanged DataSourceViewChanged DataSourceViewChanged

Occurs when the data source view has changed.

(Inherited from DataSourceView)
Deleted Deleted Deleted Deleted

Occurs after an object has been deleted from the data source.

Deleting Deleting Deleting Deleting

Occurs before an object is deleted from the data source.

Exception Exception Exception Exception

Occurs when validation fails in a partial methods or when an exception is raised.

Inserted Inserted Inserted Inserted

Occurs after a new object is created at the data source.

Inserting Inserting Inserting Inserting

Occurs before a new object is persisted to the data source.

QueryCreated QueryCreated QueryCreated QueryCreated

Occurs after the EntityDataSource has created an Entity SQL query that was specified during the configuration of the EntityDataSource control.

Selected Selected Selected Selected

Occurs after a query has been executed.

Selecting Selecting Selecting Selecting

Occurs before a query is constructed and executed.

Updated Updated Updated Updated

Occurs after changes to an object have been persisted to the data source.

Updating Updating Updating Updating

Occurs before changes to an object are persisted to the data source.

Explicit Interface Implementations

IStateManager.IsTrackingViewState IStateManager.IsTrackingViewState IStateManager.IsTrackingViewState IStateManager.IsTrackingViewState

Gets a value that indicates whether the EntityDataSourceView object is saving changes to its view state.

IStateManager.LoadViewState(Object) IStateManager.LoadViewState(Object) IStateManager.LoadViewState(Object) IStateManager.LoadViewState(Object)

Restores the previously saved view state for the data source view.

IStateManager.SaveViewState() IStateManager.SaveViewState() IStateManager.SaveViewState() 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() IStateManager.TrackViewState() IStateManager.TrackViewState() IStateManager.TrackViewState()

Tracks view state changes.

Applies to