GeneXus can automatically select the tables that are going to be in the Offline Database of an Offline Application. This selection is made by analyzing the objects call tree from the Main object that defines the application. Tables which are referenced by offline objects ( objects with Connectivity Support property offline or inherited from offline objects ) are selected, as also all the tables which has Referential Integrity control from these tables.
It is important then to avoid the use of Dynamic Calls. If Dynamic Calls are used in the applications, it is recommended to create and add to the call tree an object that references all the possible objects called via dynamic calls, so then GeneXus will automatically take the references that are needed to select the tables.
An example of how to choose the tables that are going to be in the Offline Database using the Connectivity Support Property