Re: Object in multiple tables

2009-10-04 Thread Michael McCurrey
All depends on how you are going to be getting your primary key and how you would like it hydrated into your child tables. There are 2 ways to handle this, the first is to handle the inserts through a parent transaction and then do the subsequent insert calls through seperate mapper.Insert(...)

Re: Object in multiple tables

2009-10-04 Thread jmsandy
Thanks Michael. Indeed the first option and much more interesting. Thanks for the tip. Michael McCurrey-3 wrote: All depends on how you are going to be getting your primary key and how you would like it hydrated into your child tables. There are 2 ways to handle this, the first is to