Official Content

Since GeneXus 15, it is possible to easily define how to populate data automatically to physical tables associated with Transactions.

This saves you the task of manually having to load initial data to the tables.

By setting the following properties in a Transaction object:

you can take advantage of this feature.

For example, let's consider the Country Transaction:

CountryTrnStructure

If you set its Data Provider property =True, GeneXus creates a Data Provider named Country_DataProvider and initializes its source with the Transaction’s structure:

Country_DataProvider

You may for example complete the Data Provider as shown below:

Country_DataProviderWithData

And if the property Used To = Populate Data, GeneXus understands that the objective of the Data Provider is to populate the Country physical table.

See also

Used to property
Automatic data population associated with Transactions - FAQ

Availability

This feature is available as of GeneXus 15 Upgrade 1.


 

Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant