In GeneXus 15, it is possible to easily define how to populate data automatically to physical tables associated to transactions.
This saves developers the task of manually having to load initial data to the tables.
By setting the following properties in a Transaction:
the developer can take advantage of this feature.
For example, let's consider the Country Transaction:
If the developer sets its property Data Provider=True, GeneXus creates a Data Provider named Country_DataProvider and initializes its source with the transaction’s structure:
The Data Provider could be completed by the developer as shown below:
And if the property Used To=Populate Data, GeneXus understands that the objective of the Data Provider is to populate the Country physical table.
Used to property
Automatic data population associated to transactions - FAQ
This feature is available as of GeneXus 15 Upgrade 1