Progress
ADM 2 Reference
SmartDataObject
The SmartDataObject is a data pump. It creates and manages a data stream based on the terms of a query that you define within it. You can often avoid complicated JOINs by linking SmartDataObjects together, each managing a single table. If your application will run in a distributed environment, you can update multiple SmartDataObjects on an AppServer by linking them inside a SmartBusinessObject.
The class name of the SmartDataObject is Data, and it inherits from class Query. Both are Progress classes, and the file %DLC%/src/
adm2/data.p
is Data’s super procedure. The syntax for loading that file is:
Other files related to
data.p
are:
Query Class
The super-procedure file for class Query is
query.p
. The syntax for loading that file is:
Other files related to
query.p
are:
NOTE: If the macro{&APP-SERVER-VARS}
is defined, the Query class will inherit from the AppServer class, represented by the super procedureappserver.p
. To force the macro to be defined, set the AppServer-Aware check box in the Procedure Settings dialog box for your object. If there is no such check box, or it is disabled, then you cannot force the definition in that instance.For the list of files defining the AppServer class, see the "AppServer Class" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |