Inheritance in Multiple Projects

Posts   
 
    
uranows
User
Posts: 6
Joined: 20-Jan-2006
# Posted on: 20-Jan-2006 23:04:45   

Hi,

I was wondering how could I work with inheritance assuming the 1:1 relationship is separated in two projects. I did some work in the generated code and seems to be ok, but in my company has many cases like this.

There is a way in the designer to make an entity sub-type of another that is in an another project or dll?

Thanks in advance.

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 21-Jan-2006 02:36:14   

If you want it to happen to all entities then you could modify the entity.template to have them inherit from the class your are speaking of.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 21-Jan-2006 11:34:24   

No that's not going to work, the inheritance info isn't in the central inheritanceinfoprovider per project.

If you want to use inheritance from one project to another, add the other project's catalog to the first llblgen pro project, re-add those entities, create the hierarchies and generate code.

Frans Bouma | Lead developer LLBLGen Pro
uranows
User
Posts: 6
Joined: 20-Jan-2006
# Posted on: 24-Jan-2006 15:31:32   

right, I was afraid of that rage Well, I'm keeping a sugestion here for next versions cause in large systems u usually have one DAL for each module u want to plug in the core system. And generally, who make these modules is not the same person who did the core, and u don't want that anybody else except u regenerate the core DAL.

Thanks for the fast support. simple_smile