I'd like to request an LLBGen Pro feature

Posts   
 
    
cmartinbot
User
Posts: 147
Joined: 08-Jan-2004
# Posted on: 27-Apr-2004 08:01:51   

Hi Otis,

Many of my applications that I use LLBLGen Pro for are very user oriented. As a result, we can use the same application for A LOT of clients. (You may remember my problem of using multiple schemas in a catalog).

Problem is that I have to keep EntitFieldFactory.cs(?) synched up with my schema name on every little database change. There are many ways I have accomplished this. (The easiest way so far has been to check-in right before regeneration and the do a manually merge).

Basically; what I'd like to see (to keep from hating changing anything) is a static field and method in EntitFieldFactory.cs(?) called ActiveSchema(), that would grab the value from the *config file. That is precisly what I've done but, having to merge that little peice of code into hundreds of fields quite literally sucks. frowning

Is there any chance of seeing that in a future release?

Isn't it good to promote user-based data object programming anyway?

Thanks, Chris

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 27-Apr-2004 08:59:56   

It is planned for a future release, first for adapter (xml file with mapping info). If you want to have efficiently alter the schema name at runtime in selfservicing, you could have a look at the templates for team based development for oracle posted in the 3rd party section. That code alters the schema at runtime as well, in the dbutils.* classes

Frans Bouma | Lead developer LLBLGen Pro