Question
Choosing between Work Classes and Data Classes
Hi Guys,
We have several data grids in our application pertaining to different data objects such as Insurance, Insurance Owner, Insurance Location.
Current scope of development only includes getting the data for these from external systems and displaying them as grids.
But in future, there is a possibility to create processes for few of these.
Do we create these objects and their attributes in the Data Class or Work Class from futuristic point of view.
If we go ahead with all data classes, how do we create cases and do processing on these objects in future.
Thanks!
Bhagyashree
You must create the Data properties in Data classes only for re-usability purpose and to separate it from the work classes.
You can refer the Data properties from work classes using Page, PageList, PageGroup properties and using Data pages and you can use them in work classes so that you can separate the Data from the process.