Inheritance in SelfService

Posts   
 
    
Anderskj1
User
Posts: 33
Joined: 11-Jan-2005
# Posted on: 20-Jan-2005 16:37:30   

Hi

We have situation where we have a "supertypetable" User. There are serval subtables like DepartmentUsers wich have FK to this User table to extend it relations but still have to abillity to use the supertalbes ID as FK in other relations.

This is ideal for inheritance in Object world but dosent go very well with LLBL“s SelfService code.

Is there a way or a furture plan to make inheritance available? Maybe as an extend to the GUI where you specifie tables that should be part of the hiearachy?

Or is it impossible to make with the current structure?

Anders

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 20-Jan-2005 17:55:20   

Inheritance is planned for the april/may timeframe. Till then, you've to use the 1:1 relations I'm afraid.

Frans Bouma | Lead developer LLBLGen Pro
Anderskj1
User
Posts: 33
Joined: 11-Jan-2005
# Posted on: 20-Jan-2005 19:22:17   

Sounds great.

swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 20-Jan-2005 19:46:49   

Anybody up to speed enough with SQL 2005 to know if this kind of thing is supported in it? Isn't it time we had databases that natively understood inheritence?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 21-Jan-2005 10:19:39   

swallace wrote:

Anybody up to speed enough with SQL 2005 to know if this kind of thing is supported in it? Isn't it time we had databases that natively understood inheritence?

Check postgresql, it can do table inheritance right there in DDL simple_smile

Sqlserver 2005 should work with the sqlserver 2000 driver, there might be some issues, I have to sort them out. I have beta2 of yukon here, but at the moment I won't spend time supporting beta stuff that's not finalized (as in: it has the possibility it will change), as most of the time it's a waste of time. When yukon reaches beta3 I'll check it out, to get a .NET 1.1 driver for it (.NET 2.0 has to wait till v2.0 of LLBLGen Pro)

Frans Bouma | Lead developer LLBLGen Pro
swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 21-Jan-2005 17:36:01   

We live in interesting times...

simple_smile