9. T GetObjectWithChildren(object id)

Returns the specified object and its children.

Example:

IObjectMapper<Customer> mapper = Elementary.GetIObjectMapper<Customer>();
Customer c = mapper.GetObjectWithChildren(1); // Gets Customer #1

Console.WriteLine(customers[0].Orders); // Orders is populated