C# 클래스 OpenSlx.Lib.Web.Controls.EntityDataSourceView

Allow update of a collection of business entities.
상속: System.Web.UI.DataSourceView
파일 보기 프로젝트 열기: nicocrm/OpenSlx 1 사용 예제들

공개 메소드들

메소드 설명
EntityDataSourceView ( EntityDataSource owner, ICacheService cache ) : System

보호된 메소드들

메소드 설명
ExecuteDelete ( IDictionary keys, IDictionary oldValues ) : int
ExecuteSelect ( System.Web.UI.DataSourceSelectArguments arguments ) : IEnumerable

Return data selection.

ExecuteUpdate ( IDictionary keys, IDictionary values, IDictionary oldValues ) : int

Update specified rows of data (normally, only one row).

FindEntityByProperties ( IDictionary keys ) : IEnumerable

Find the objects that have the specified property values. Return empty list if not found. Used to locate entities to update.

비공개 메소드들

메소드 설명
GetStaticType ( Type t ) : Type

If t is a dynamic type, this will return the first static ancestor. If t is already a static type, this will return t.

메소드 상세

EntityDataSourceView() 공개 메소드

public EntityDataSourceView ( EntityDataSource owner, ICacheService cache ) : System
owner EntityDataSource
cache ICacheService
리턴 System

ExecuteDelete() 보호된 메소드

protected ExecuteDelete ( IDictionary keys, IDictionary oldValues ) : int
keys IDictionary
oldValues IDictionary
리턴 int

ExecuteSelect() 보호된 메소드

Return data selection.
protected ExecuteSelect ( System.Web.UI.DataSourceSelectArguments arguments ) : IEnumerable
arguments System.Web.UI.DataSourceSelectArguments
리턴 IEnumerable

ExecuteUpdate() 보호된 메소드

Update specified rows of data (normally, only one row).
protected ExecuteUpdate ( IDictionary keys, IDictionary values, IDictionary oldValues ) : int
keys IDictionary Dictionary of keyname/keyvalue
values IDictionary Dictionary of property name/property value
oldValues IDictionary Dictionary of property name/property value (for old values) - not used at this time
리턴 int

FindEntityByProperties() 보호된 메소드

Find the objects that have the specified property values. Return empty list if not found. Used to locate entities to update.
protected FindEntityByProperties ( IDictionary keys ) : IEnumerable
keys IDictionary
리턴 IEnumerable