DatabaseConnector VS DBSpecific

Posts   
 
    
Chaoyster
User
Posts: 40
Joined: 23-Mar-2011
# Posted on: 22-Jun-2011 21:53:50   

In 2.6 version, we have databaseConnector generated in DAL from LLBLGen Designer, Even in migrated v3.1 version, the name is still remain the same(databaseConnector), but when I try to create new project from v3.1, I got DBSpecific name space rather than DatabaseConnector. Is there a way to change the DBSpecific back to DatabaseConnector to make all the project name consistent? or it is just the new way to be carried on in the future?

Thanks

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-Jun-2011 06:28:27   

Chaoyster wrote:

In 2.6 version, we have databaseConnector generated in DAL from LLBLGen Designer

I assume you refer to the generated database specific VSNet project.

Chaoyster wrote:

Even in migrated v3.1 version, the name is still remain the same(databaseConnector)

When a project is migrated from v2.6 to v3, the **AdapterDbSpecificProjectFileSuffix **project's property isn't changed.

Chaoyster wrote:

but when I try to create new project from v3.1, I got DBSpecific name space rather than DatabaseConnector. Is there a way to change the DBSpecific back to DatabaseConnector to make all the project name consistent? or it is just the new way to be carried on in the future?

you need go to Project Properties -> Output Setting Values ->**AdapterDbSpecificProjectFileSuffix **and set it to DatabaseConnector.

David Elizondo | LLBLGen Support Team
Chaoyster
User
Posts: 40
Joined: 23-Mar-2011
# Posted on: 23-Jun-2011 19:40:46   

Is the DBSpecific hard coded or it can be configured. I just don't want to change it to DatabaseConnector each time when I create a new project. Or another solution for me is to change all our old project file which use DBSpecific rather than DatabaseConnector. What do you think?

Another Question, we have create a customized folder to contain the LLBLGen runtime libraries. But when the code being generated, it is still reference to c:\program files(x86)..LLBLGen.. I am wondering if there is any template or config file I can change the reference to point to our own customized folder. So I don't need to drop and add runtime reference when new projects are generated.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 23-Jun-2011 21:50:38   

You need to change the AdapterDbSpecificProjectFileSuffix setting as described in David's answer.

You can change the reference in the generated project, it will not be overwritten when you regenerate.

Matt

Chaoyster
User
Posts: 40
Joined: 23-Mar-2011
# Posted on: 23-Jun-2011 21:52:06   

Thanks