ערוך

שתף באמצעות


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 sealed : System::Web::UI::DataSourceView, System::Web::UI::IStateManager
public ref class EntityDataSourceView : System::Web::UI::DataSourceView, System::Web::UI::IStateManager
public sealed 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 NotInheritable Class EntityDataSourceView
Inherits DataSourceView
Implements IStateManager
Public Class EntityDataSourceView
Inherits DataSourceView
Implements IStateManager
Inheritance
EntityDataSourceView
Implements

Constructors

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

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

CanInsert

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

CanPage

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

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

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

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

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)

Methods

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.

ExecuteDelete(IDictionary, IDictionary)

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

(Inherited from DataSourceView)
ExecuteInsert(IDictionary)

Performs an insert operation.

ExecuteInsert(IDictionary)

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

(Inherited from DataSourceView)
ExecuteSelect(DataSourceSelectArguments)

Performs a select operation.

ExecuteSelect(DataSourceSelectArguments)

Gets a list of data from the underlying data storage.

(Inherited from DataSourceView)
ExecuteUpdate(IDictionary, IDictionary, IDictionary)

Performs an update operation.

ExecuteUpdate(IDictionary, IDictionary, IDictionary)

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

(Inherited from DataSourceView)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
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()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnDataSourceViewChanged(EventArgs)

Raises the DataSourceViewChanged event.

(Inherited from DataSourceView)
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)

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)

Events

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.

Explicit Interface Implementations

IStateManager.IsTrackingViewState

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

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.

Applies to