EntityDataSourceView Class
TOC
Collapse the table of content
Expand the table of content

EntityDataSourceView Class

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

System.Object
  System.Web.UI.DataSourceView
    System.Web.UI.WebControls.EntityDataSourceView

public class EntityDataSourceView : DataSourceView, IStateManager

NameDescription
System_CAPS_pubmethodEntityDataSourceView(EntityDataSource, String)

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

NameDescription
System_CAPS_pubpropertyCanDelete

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the delete operation.(Overrides DataSourceView.CanDelete.)

System_CAPS_pubpropertyCanInsert

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the insert operation.(Overrides DataSourceView.CanInsert.)

System_CAPS_pubpropertyCanPage

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

System_CAPS_pubpropertyCanRetrieveTotalRowCount

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

System_CAPS_pubpropertyCanSort

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

System_CAPS_pubpropertyCanUpdate

Gets a value that indicates whether the EntityDataSourceView object that is associated with the current EntityDataSource control supports the update operation.(Overrides DataSourceView.CanUpdate.)

System_CAPS_protpropertyEvents

Gets a list of event-handler delegates for the data source view.(Inherited from DataSourceView.)

System_CAPS_pubpropertyName

Gets the name of the data source view.(Inherited from DataSourceView.)

NameDescription
System_CAPS_pubmethodCanExecute(String)

Determines whether the specified command can be executed.(Inherited from DataSourceView.)

System_CAPS_pubmethodDelete(IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous delete operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodExecuteCommand(String, IDictionary, IDictionary)

Executes the specified command.(Inherited from DataSourceView.)

System_CAPS_pubmethodExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executes the specified command.(Inherited from DataSourceView.)

System_CAPS_protmethodExecuteDelete(IDictionary, IDictionary)

Performs a delete operation.(Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).)

System_CAPS_protmethodExecuteInsert(IDictionary)

Performs an insert operation.(Overrides DataSourceView.ExecuteInsert(IDictionary).)

System_CAPS_protmethodExecuteSelect(DataSourceSelectArguments)

Performs a select operation.(Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).)

System_CAPS_protmethodExecuteUpdate(IDictionary, IDictionary, IDictionary)
System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetViewSchema()

Returns a table that represents the EntityDataSourceView.

System_CAPS_pubmethodInsert(IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous insert operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnDataSourceViewChanged(EventArgs)

Raises the DataSourceViewChanged event.(Inherited from DataSourceView.)

System_CAPS_protmethodRaiseUnsupportedCapabilityError(DataSourceCapabilities)

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

System_CAPS_pubmethodSelect(DataSourceSelectArguments, DataSourceViewSelectCallback)

Gets a list of data asynchronously from the underlying data storage.(Inherited from DataSourceView.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUpdate(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous update operation on the list of data that the DataSourceView object represents.(Inherited from DataSourceView.)

NameDescription
System_CAPS_pubeventContextCreated

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

System_CAPS_pubeventContextCreating

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

System_CAPS_pubeventContextDisposing

Occurs before an ObjectContext is disposed.

System_CAPS_pubeventDataSourceViewChanged

Occurs when the data source view has changed.(Inherited from DataSourceView.)

System_CAPS_pubeventDeleted

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

System_CAPS_pubeventDeleting

Occurs before an object is deleted from the data source.

System_CAPS_pubeventException

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

System_CAPS_pubeventInserted

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

System_CAPS_pubeventInserting

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

System_CAPS_pubeventQueryCreated

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

System_CAPS_pubeventSelected

Occurs after a query has been executed.

System_CAPS_pubeventSelecting

Occurs before a query is constructed and executed.

System_CAPS_pubeventUpdated

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

System_CAPS_pubeventUpdating

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.LoadViewState(Object)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.SaveViewState()

Saves the changes to view state for the EntityDataSourceView control since the time that the page was posted back to the server.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.TrackViewState()

Tracks view state changes.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIStateManager.IsTrackingViewState

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

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft