C# 클래스 Nettiers.AdventureWorks.Web.Data.EntityDataSource.EntityDataSourceView

Supports the EntityDataSource control and provides an interface for data-bound controls to perform data operations with business and data objects.
상속: System.Web.UI.DataSourceView
파일 보기 프로젝트 열기: netTiers/netTiers

Private Properties

프로퍼티 타입 설명
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 ( LinkedDataSourceEventArgs e ) : void

Raises the AfterInserted event.

OnAfterInserting ( LinkedDataSourceEventArgs e ) : void

Raises the AfterInserting event.

OnAfterSelected ( LinkedDataSourceEventArgs e ) : void

Raises the AfterSelected event.

OnAfterUpdated ( LinkedDataSourceEventArgs e ) : void

Raises the AfterUpdated event.

OnAfterUpdating ( LinkedDataSourceEventArgs e ) : void

Raises the AfterUpdating event.

OnDeleted ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Deleted event.

OnDeleting ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Deleting event.

OnInserted ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Inserted event.

OnInserting ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Inserting event.

OnSelected ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Selected event.

OnSelecting ( EntityDataSourceSelectingEventArgs args ) : void

Raises the EntityDataSource.Selecting event.

OnUpdated ( EntityDataSourceMethodEventArgs args ) : void

Raises the EntityDataSource.Updated event.

OnUpdating ( EntityDataSourceMethodEventArgs args ) : void

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

메소드 상세

EntityDataSourceView() 공개 메소드

Initializes a new instance of the EntityDataSourceView class.
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

ExecuteDelete() 보호된 메소드

Performs a delete operation on the list of data that the EntityDataSourceView object represents.
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

ExecuteInsert() 보호된 메소드

Performs an insert operation on the list of data that the EntityDataSourceView object represents.
protected ExecuteInsert ( IDictionary values ) : int
values IDictionary A System.Collections.IDictionary of /// name/value pairs used during an insert operation.
리턴 int

ExecuteSelect() 보호된 메소드

Gets a list of data from the underlying data storage.
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

ExecuteUpdate() 보호된 메소드

Performs an update operation on the list of data that the EntityDataSourceView object represents.
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