I am using Simple.Data ORM to handle my DB operations. I am not sure how to handle the case of inserting One to many and many to many data.
Say for example I have a customer and order table and I want to save data with one customer and two orders. Should I wrap the 3 DB insert statement inside a transaction or does Simple.Data support some other way of handling parent child inserts?
Similarly how can I handle the same scenario in many to many case?