Use the generated static methods in the MBO classes to retrieve MBO instances.
- To find all instances of an MBO, invoke the static findAll method contained in that MBO. For example, an MBO
named Customer contains a method such as findAll.
- To find a particular instance of an MBO using the primary key, invoke [MBO
findByPrimaryKey:...]. For example, if a Customer has the primary key
"key" as int, the Customer MBO would contain the + (Customer*)
findByPrimaryKey:(int)key method, which performs the equivalent of
Select x.* from Customer x where x.key = :key.
If the return type is a list, additional methods are generated for you to
further process the result, for example, to use paging.