10. T GetObjectWithChildren(AbstractCompositeKey ids)

Returns the specified object. Used for composite keys. If more than one object is returned, only the first one is kept.

Example:

IObjectMapper<Customer> mapper = Elementary.GetIObjectMapper<Customer>();

ColumnCompositeKey keys = new ColumnCompositeKey();
keys["lastname"] = "Gates";
keys["zipcode"] = "12345";

Customer c = mapper.GetObjectWithChildren(keys);

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