Reverse engineer entities from a database  


back   home


1. Right-Click the node 'Relational Model Data' in the Project Explorer and select Add Relational Model data from a Database from the context menu.
Add Relational Model data from a Database
2. The Relational Model Data Retrieval Wizard is started. Complete the wizard's steps to obtain the relational model data from your database. Check at least 1 table with some fields.
Relational Model Data Retrieval Wizard 1

Relational Model Data Retrieval Wizard 2

Relational Model Data Retrieval Wizard 3

3. You now have a Relational Model Data storage with Relational Model Data in the project. Go to the Catalog Explorer on the right-hand side of the program and examine what's been retrieved by LLBLGen Pro.
4. In Catalog Explorer, Right-click the catalog node - or schema node - and select Reverse Engineer Tables to Entity Definitions... from the context menu.
Reverse Engineer Tables to Entity Definitions
5. The Reverse Engineering Element Editor is opened. Examine the names pre-generated and check all checkboxes in front of the elements in the grid. Then click the Add to Project button.
Reverse Engineering Element Editor
The Project Explorer now shows one or more entity definitions. You now have reverse-engineered tables, their fields, primary key constraints and FK constraints to an Abstract Entity Model with entity definitions, fields, identifying field sets and relationships.
 

next step
  Generate source code