tastabusinessobjectmanager.gifTAstaBusinessObjectManager
Properties Methods



 

Unit
AstaMethodManager

 

Declaration
type TAstaBusinessObjectManager = class(TComponent)

 

Description
The TAstaBusinessObjectManager allows you to define server side Methods:TAstaActionItem with optional parameters that can then be used by ASTA clients using the TAstaClientDataSet.MethodName. This allows you to deploy ASTA client applications that require NO SQL on the client. See Server Side vs. Client Side SQL for a fuller discussion.

Each ServerMethod equires a TDataSet be attached to it either directly or through a TAstaProvider. The Method can have any number of Parameters defined which will be streamed down to the TAstaClientDataSet when a ServerMethod is chosen, either at design time or run time. When a TAstaClientDataSet is activated using a ServerMethod the Params are transported to the server and the OnAction event of the BusinessMethod is fired.It is your responsibility to use the incoming client params here for the TDataSet attached to the ServerMethod or for any other reason.

To make a ServerMethod updatable, a TAstaProvider must be used.



ASTA Overview TAstaActionItem.SendFieldProperties TAstaBusinessObjectManager.Actions