Self-relationship in TypedList

Posts   
 
    
Posts: 134
Joined: 04-Mar-2005
# Posted on: 30-Sep-2005 20:25:15   

I added an entity to my typed list which has a self-relationship. I removed the entity that I wanted it to be related to but now I can't remove the self-related entity (presumably because it's part of its own relationship and hence is "needed" in the typed list?). I've tried adding back another related entity in the hopes of being able to change the relationship and then remove the entity, however the designer adds another relationship, and leaves the self-relationship. I think I'm going to have to delete the entire typed list and recreate it.

confused

Drewes
User
Posts: 67
Joined: 18-Aug-2003
# Posted on: 01-Oct-2005 02:58:39   

I think your are right, without more details is is hard for us to figure out if there is another way. If you keep getting this type of problem let us know, maybe there is a bug we should fix.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 03-Oct-2005 12:02:43   

Sounds like a bug. I'll check it out, should be reproducable with northwind (with employee).

Frans Bouma | Lead developer LLBLGen Pro
Posts: 134
Joined: 04-Mar-2005
# Posted on: 03-Oct-2005 17:54:19   

Otis wrote:

Sounds like a bug. I'll check it out, should be reproducable with northwind (with employee).

If the .lgp file would help you any (which includes the self-related entity) then I can sent that to you.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 03-Oct-2005 18:05:34   

ChicagoKiwi wrote:

Otis wrote:

Sounds like a bug. I'll check it out, should be reproducable with northwind (with employee).

If the .lgp file would help you any (which includes the self-related entity) then I can sent that to you.

I've 7 bugs to go, I hope to address this tomorrow (tuesday).

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 04-Oct-2005 16:28:56   

I can't reproduce it. When I add Employee (which references itself) in a northwind project, and add other entities (or first add other entities and then employee) I can always remove it.

Which version of the designer are you using, and can you reproduce it when you recreate a NEW typed list and add the entities again?

Frans Bouma | Lead developer LLBLGen Pro
Posts: 134
Joined: 04-Mar-2005
# Posted on: 13-Oct-2005 17:39:15   

Otis wrote:

I can't reproduce it. When I add Employee (which references itself) in a northwind project, and add other entities (or first add other entities and then employee) I can always remove it.

Which version of the designer are you using, and can you reproduce it when you recreate a NEW typed list and add the entities again?

Sorry - missed this until just now. I'm using the Designer dated July 25th. I haven't managed to reproduce it either. If you want to put this down as "just one of those things" and forget about it then feel free. wink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 13-Oct-2005 18:40:38   

hehe simple_smile . I've filed the bug, I'll lower it to 'low' so it drops to the list of 'once reported, never reproduced' and we'll see if someone else runs into it simple_smile Thanks though simple_smile

Frans Bouma | Lead developer LLBLGen Pro