m:n 'Via' Properties

Posts   
 
    
Posts: 56
Joined: 08-Jun-2010
# Posted on: 28-Jun-2010 15:58:28   

Hello

is there a way to get llblgen to generate non readonly m:n relationship collections?

For example if I had a domain model looking at groups of people It would be nice to be able to create a new user and add it to Group.PersonCollectionViaGroupPerson collection. When I do this I get an exception thrown as PersonCollectionViaGroupPerson is read only. I've been digging in the designer and cannot find a setting anywhere.

I am using llblgen 2.6.

Cheers for any help!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 29-Jun-2010 06:31:28   

Not possible that way. You must save m:n entities separately. You can add them in a m:n relation but generated code will not save them.

David Elizondo | LLBLGen Support Team