Свойство | Тип | Описание | |
---|---|---|---|
DeepLoad | void | ||
Delete | int | ||
GetArgs | Object[] | ||
GetArgumentValues | Object[] | ||
GetArgumentValues | Object[] | ||
GetCurrentEntity | Object | ||
GetEntityId | Object | ||
GetEntityList | IEnumerable | ||
GetEntityList | IEnumerable | ||
GetInsertDateTimeNames | String[] | ||
GetNames | String[] | ||
GetNewEntity | Object | ||
GetPagedAndSortedData | Object | ||
GetTypes | System.Type[] | ||
GetUpdateDateTimeNames | String[] | ||
Insert | int | ||
OnAfterInserted | void | ||
OnAfterInserting | void | ||
OnAfterSelected | void | ||
OnAfterUpdated | void | ||
OnAfterUpdating | void | ||
OnDeleted | void | ||
OnDeleting | void | ||
OnInserted | void | ||
OnInserting | void | ||
OnSelected | void | ||
OnSelecting | void | ||
OnUpdated | void | ||
OnUpdating | void | ||
RaiseChangedEvent | void | ||
ResetPreviousValues | void | ||
SetEntityIndex | void | ||
SetPreviousValues | void | ||
Update | int | ||
UpdateEntityId | void | ||
ValidateEntity | void |
Метод | Описание | |
---|---|---|
EntityDataSourceView ( EntityDataSource owner, String viewName ) : System |
Initializes a new instance of the EntityDataSourceView class.
|
Метод | Описание | |
---|---|---|
ExecuteDelete ( IDictionary keys, IDictionary oldValues ) : int |
Performs a delete operation on the list of data that the EntityDataSourceView object represents.
|
|
ExecuteInsert ( IDictionary values ) : int |
Performs an insert operation on the list of data that the EntityDataSourceView object represents.
|
|
ExecuteSelect ( System.Web.UI.DataSourceSelectArguments arguments ) : IEnumerable |
Gets a list of data from the underlying data storage.
|
|
ExecuteUpdate ( IDictionary keys, IDictionary values, IDictionary oldValues ) : int |
Performs an update operation on the list of data that the EntityDataSourceView object represents.
|
Метод | Описание | |
---|---|---|
DeepLoad ( ) : void |
Performs a DeepLoad operation for the current entity if it has not already been performed.
|
|
Delete ( Object entity ) : int |
Performs a delete operation on the list of data that the EntityDataSourceView object represents.
|
|
GetArgs ( ) : Object[] | ||
GetArgumentValues ( ) : Object[] | ||
GetArgumentValues ( bool convertStringToGuid ) : Object[] | ||
GetCurrentEntity ( ) : Object |
Gets a specific entry from the cached list of entities based on the value of the EntityIndex property.
|
|
GetEntityId ( ) : Object | ||
GetEntityList ( ) : IEnumerable |
Gets a reference to the requested list of entities.
|
|
GetEntityList ( System.Web.UI.DataSourceSelectArguments arguments ) : IEnumerable |
Gets a reference to the requested list of entities.
|
|
GetInsertDateTimeNames ( ) : String[] | ||
GetNames ( String value ) : String[] | ||
GetNewEntity ( ) : Object |
Creates a new instance of the class specifed by the EntityType property.
|
|
GetPagedAndSortedData ( System.Web.UI.DataSourceSelectArguments arguments ) : Object | ||
GetTypes ( ) : System.Type[] |
Gets the types.
|
|
GetUpdateDateTimeNames ( ) : String[] | ||
Insert ( IDictionary values ) : int |
Performs an insert operation on the list of data that the EntityDataSourceView object represents.
|
|
OnAfterInserted ( |
Raises the AfterInserted event.
|
|
OnAfterInserting ( |
Raises the AfterInserting event.
|
|
OnAfterSelected ( |
Raises the AfterSelected event.
|
|
OnAfterUpdated ( |
Raises the AfterUpdated event.
|
|
OnAfterUpdating ( |
Raises the AfterUpdating event.
|
|
OnDeleted ( |
Raises the EntityDataSource.Deleted event.
|
|
OnDeleting ( |
Raises the EntityDataSource.Deleting event.
|
|
OnInserted ( |
Raises the EntityDataSource.Inserted event.
|
|
OnInserting ( |
Raises the EntityDataSource.Inserting event.
|
|
OnSelected ( |
Raises the EntityDataSource.Selected event.
|
|
OnSelecting ( EntityDataSourceSelectingEventArgs args ) : void |
Raises the EntityDataSource.Selecting event.
|
|
OnUpdated ( |
Raises the EntityDataSource.Updated event.
|
|
OnUpdating ( |
Raises the EntityDataSource.Updating event.
|
|
RaiseChangedEvent ( ) : void |
Raises the DataSourceView.OnDataSourceViewChanged event.
|
|
ResetPreviousValues ( ) : void | ||
SetEntityIndex ( IEnumerable entityList, IDictionary keys ) : void | ||
SetPreviousValues ( ) : void | ||
Update ( Object entity, IDictionary values ) : int |
Performs an update operation on the list of data that the EntityDataSourceView object represents.
|
|
UpdateEntityId ( IEnumerable entityList ) : void | ||
ValidateEntity ( IEnumerable entityList ) : void |
public EntityDataSourceView ( EntityDataSource owner, String viewName ) : System | ||
owner | EntityDataSource | A reference to the EntityDataSource which created this instance. |
viewName | String | The name of the view, which defaults to EntityView. |
Результат | System |
protected ExecuteDelete ( IDictionary keys, IDictionary oldValues ) : int | ||
keys | IDictionary | A System.Collections.IDictionary of object or /// row keys to be deleted by the ExecuteDelete operation. |
oldValues | IDictionary | An System.Collections.IDictionary of name/value /// pairs that represent data elements and their original values. |
Результат | int |
protected ExecuteInsert ( IDictionary values ) : int | ||
values | IDictionary | A System.Collections.IDictionary of /// name/value pairs used during an insert operation. |
Результат | int |
protected ExecuteSelect ( System.Web.UI.DataSourceSelectArguments arguments ) : IEnumerable | ||
arguments | System.Web.UI.DataSourceSelectArguments | A System.Web.UI.DataSourceSelectArguments that /// is used to request operations on the data beyond basic data retrieval. |
Результат | IEnumerable |
protected ExecuteUpdate ( IDictionary keys, IDictionary values, IDictionary oldValues ) : int | ||
keys | IDictionary | An System.Collections.IDictionary of object or /// row keys to be updated by the update operation. |
values | IDictionary | An System.Collections.IDictionary of name/value /// pairs that represent data elements and their original values. |
oldValues | IDictionary | An System.Collections.IDictionary of name/value /// pairs that represent data elements and their new values. |
Результат | int |