Customizing directory names for generated code

Posts   
 
    
tomcap
User
Posts: 15
Joined: 03-Apr-2017
# Posted on: 09-May-2019 18:12:03   

I am using LLBLGen with LLBLGen Pro Runtime Framework. Previously I only ever used one Relational Model per project; always Oracle (ODP.NET). The database specific files were always placed in a subdirectory named DatabaseSpecific. Recently I added another Relational Model to my project. When I generate the code, I now get two subdirectories named "Oracle (ODP.NET)" and "SQL Server (SqlClient)". I would prefer to have these directories named "Oracle" and "SqlServer", respectively. Is there a way that I can achieve that?

I am using LLBLGen version 5.1.5.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39760
Joined: 17-Aug-2003
# Posted on: 10-May-2019 09:29:47   

You can, by editing the driver.config files in the Drivers<driver name>\ folder in the llblgen pro installation folder. Change the shortName into what you want it to have.

We append the ado.net provider as we have multiple oracle drivers, hence the necessity for that. For consistency (as the name also is used inside the designer) the ado.net provider is added so it's more clear what's used.

Frans Bouma | Lead developer LLBLGen Pro