18. void SaveWithChildren(T object)

Saves the object to the database along with all of its children.

Example:

Customer customer = new Customer();
customer.FirstName = "Bill";
customer.LastName = "Gates";

Order order = new Order();
... // set the order information

Customer.Order = order;

IObjectMapper<Customer> mapper = Elementary.GetIObjectMapper<Customer>();
mapper.SaveWithChildren(customer); // customer is saved.  customer.Orders is also saved