Important: NHibernate changes coming up

Posts   
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39767
Joined: 17-Aug-2003
# Posted on: 28-Jul-2010 11:58:32   

We discovered that multiple database types in a single nhibernate project didn't work in practice: the code of databases enumerated later on in the code generation process overwrote the already generated code. This was due to a problem in the presets: it should generate the code per database in a specific folder, if required. We have addressed this in the upcoming build.

It was discovered that when using multiple groups and the grouping mechanism is set to AsSeparateProjects, the vs.net project name generated wasn't reflecting the group, but always had the 'projectname' as its name. This has the disadvantage that when you add all vs.net projects to 1 solution, you get conflicts and it doesn't work.

We've changed this to be the group name in this case, or more importantly, we changed the [projectName] directive in the presets to [containerName] as it should have been.

We added N:M support for NHibernate to the upcoming build as well.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39767
Joined: 17-Aug-2003
# Posted on: 05-Aug-2010 12:30:37   

In the next build, August 5th, we'll rollback this change:

We've changed this to be the group name in this case, or more importantly, we changed the [projectName] directive in the presets to [containerName] as it should have been.

as it was 1) unnecessary and 2) causes problems with vs.net filename creation: the rootnamespace active at that point was the project name, whic already contained the groupname, and the change we made would create project names with just the group name.

Our apologies for any inconvenience this might have caused. To workaround this today, change [containedName] in the vs.net project tasks to [projectName]

Frans Bouma | Lead developer LLBLGen Pro