Include schema in entity name

Posts   
 
    
benjam47
User
Posts: 13
Joined: 09-Apr-2008
# Posted on: 04-Jun-2008 22:00:14   

In my SQL Server database, we use schemas as the database owner. Let's say I have these two tables:

AccountsPayable.Config GeneralLedger.Config

LLBLGen Pro only uses the table name when it creates the default entity name, so it will create entities named Config and Config_.

I realize I can override these manually, but I have many many tables. Is there a way to specify the default entity name to include the schema name so my entities would by default be named AccountsPayableConfig and GeneralLedgerConfig?

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 05-Jun-2008 10:19:05   

Currently this is not supported. A workaround is to build a Plugin for the designer to rename all entities based on your requirements.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39872
Joined: 17-Aug-2003
# Posted on: 05-Jun-2008 18:56:38   

It's a good suggestion. It's currently not supported. We'll add it to the todolist of v3

Frans Bouma | Lead developer LLBLGen Pro
benjam47
User
Posts: 13
Joined: 09-Apr-2008
# Posted on: 05-Jun-2008 22:09:53   

Walaa wrote:

Currently this is not supported. A workaround is to build a Plugin for the designer to rename all entities based on your requirements.

Thanks. Can someone point me to where I go to learn about creating a plugin into LLBL?

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 06-Jun-2008 09:37:57   

Start from the SDK documentation. (found in the downloadable SDK package).