8. T GetObject(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.GetObject(keys);

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