1:1 relationship between table and view shows as a subtype in designer

Posts   
 
    
Posts: 98
Joined: 10-Nov-2006
# Posted on: 02-Jul-2010 00:07:14   

Using v3.0 Final (June 28th, 2010):

I have a table (Item) that has a PK ItemId. I also have a View, ItemView (a view of all Items). I've used the designer to mark ItemId as the PK for ItemView.

Now, I'd like to add a 1:1 relationship between the two. That's easily done, using the "New Normal Relationship" dialog. I choose Item's ItemId to be the PK and ItemView's ItemId to be the FK.

Now that I've added that relationship, when I look at the ItemView entity in the designer, the "Subtype of" field says "Item" (but that's not correct, it's not a subtype). In the Project Explorer, the Item Entity does not show ItemView as a subtype.

I think this is just a designer quirk because the generated code does not have ItemView as a subclass of Item.

Attachments
Filename File size Added on Approval
Test.llblgenproj 25,349 02-Jul-2010 00:07.36 Approved
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 02-Jul-2010 06:04:31   

You are right, it's a little quirk as it doesn't affect anything actually, there is no inheritance info.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 02-Jul-2010 10:50:36   

UI glitch. Fixed in next build.

Frans Bouma | Lead developer LLBLGen Pro