The entity procedure can, as part of its main block startup code, request that the Data Access object attach Data-Sources and set callback procedures to its ProDataSet instance, as in this example:
lError = DYNAMIC-FUNCTION("attachDataSet" IN hSourceProc, hDataSet).
As was illustrated earlier, this can also be done in each of the methods of the Data Access object, rather than as a separate step.