No able to Use different catalogue name

Posts   
 
    
Petru
User
Posts: 2
Joined: 03-Sep-2010
# Posted on: 03-Sep-2010 17:20:01   

Hi,

We are successfully using LLBL component (v.2.5) for our project.

Keeping the same entities / store procedures etc. we'll need to use different catalogue names for different LLBL projects. When the project is running we are using the web.config settings (CatalogNameToUse), but we'll need a similar setting to update also LLBL project.

I also know LLBL project is multi catalogue enabled. But replacing the database name with the new one, we need to redo entire project settings (e.g. add again all store procedures etc.).

Is there any easy way to replace the name without redo the project ?

Thanks in advance for your answer, Petru

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-Sep-2010 23:28:11   

Hi Petru,

I wrote a post about that: http://www.llblgening.com/archive/2009/09/change-catalog-name-llblgen-designer/

Let me know if that is what you are looking for.

David Elizondo | LLBLGen Support Team
Petru
User
Posts: 2
Joined: 03-Sep-2010
# Posted on: 13-Sep-2010 16:52:45   

Hi David,

Thanks a lot for the answer. We have successfully used the solution and it worked great.

We have also converted to the newer version 2.6 and it worked also, and this movement took a while. Do we need to uninstall the previous version (2.5) in order the project to add correct references (even if the project is converted to 2.6 by default references are still going to previous version e.g. - SqlServer.NET20.dll is still 2.5).

Another issue we have is that the project is generating automatically an app.config file. Is fine, but is not used. Is there any setting to remove generation of these kind of files ?

Please let me know if for both issues do I need to create distinct threads.

Thanks a lot in advance for your answers, Petru

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 14-Sep-2010 16:48:06   

You need to save a copy of the preset (ie the list of steps that the generation process runs) and then remove the step which generates the app.config file.

Alternately, as long as you remove it from the project, it will not be readded even if it does get generated.

Matt