Automatic data population associated to transactions

Official Content

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:

CountryTrnStructure

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:

Country_DataProvider

The Data Provider could be completed by the developer 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 to transactions - FAQ

Availability

This feature is available as of GeneXus 15 Upgrade 1


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.