saving multiple related entities

Posts   
 
    
br00n
User
Posts: 4
Joined: 30-Apr-2006
# Posted on: 30-Apr-2006 23:25:14   

Please forgive the new-bee character of this question, but I'm fairly new to llblgen and still run into things I can't quite get my head around first time around.

So, here's what I'm wondering about...

I have a set of related DB tables. 10 of them...

What is the best way to save the data for these entities to the database in a way that will cause as little cranial frowning bleeding as possible?

... a few hours later, with little to no cranial bleeding...

the answer is as in place...

myThing.Person = myPerson; etc etc...

then dataadapter.SaveEntity(true, true);

Voila...

Merci beaucoup for LLBL!!

B

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 01-May-2006 14:38:06   

I guess you meant: dataadapter.SaveEntity(myThing, true, true);

Anway, we are glad that you found your way through simple_smile