GeneXus Database Reverse Engineering Tool.
The GeneXus Database Reverse Engineering Tool (DBRET) is used to read schema information from a database, and creates all necessary GeneXus objects (Tables, Transactions, Data Views, Subtypes) to represent that schema.
DBRET is a standalone tool that creates an XPZ file which is then imported by GeneXus into a Knowledge Base.
See description in the official wiki.