C# 클래스 Csla.Server.FactoryDataPortal

Server-side data portal implementation that invokes an object factory rather than directly interacting with the business object.
상속: IDataPortalServer
파일 보기 프로젝트 열기: MarimerLLC/csla 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task

Create a new business object.

Delete ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task

Delete a business object.

Fetch ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task

Get an existing business object.

Update ( object obj, Csla.Server.DataPortalContext context, bool isSync ) : Task

Update a business object.

비공개 메소드들

메소드 설명
InvokeMethod ( string factoryTypeName, DataPortalOperations operation, string methodName, Type objectType, Csla.Server.DataPortalContext context, bool isSync ) : Task
InvokeMethod ( string factoryTypeName, DataPortalOperations operation, string methodName, Type objectType, object e, Csla.Server.DataPortalContext context, bool isSync ) : Task

메소드 상세

Create() 공개 메소드

Create a new business object.
public Create ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task
objectType System.Type Type of business object to create.
criteria object Criteria object describing business object.
context Csla.Server.DataPortalContext /// object passed to the server. ///
isSync bool True if the client-side proxy should synchronously invoke the server.
리턴 Task

Delete() 공개 메소드

Delete a business object.
public Delete ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task
objectType System.Type Type of business object to create.
criteria object Criteria object describing business object.
context Csla.Server.DataPortalContext /// object passed to the server. ///
isSync bool True if the client-side proxy should synchronously invoke the server.
리턴 Task

Fetch() 공개 메소드

Get an existing business object.
public Fetch ( Type objectType, object criteria, Csla.Server.DataPortalContext context, bool isSync ) : Task
objectType System.Type Type of business object to retrieve.
criteria object Criteria object describing business object.
context Csla.Server.DataPortalContext /// object passed to the server. ///
isSync bool True if the client-side proxy should synchronously invoke the server.
리턴 Task

Update() 공개 메소드

Update a business object.
public Update ( object obj, Csla.Server.DataPortalContext context, bool isSync ) : Task
obj object Business object to update.
context Csla.Server.DataPortalContext /// object passed to the server. ///
isSync bool True if the client-side proxy should synchronously invoke the server.
리턴 Task