ObjectExtender User's Guide and Reference

Creating Lite collections

Lite Collections are useful for retrieving a subset of the information from a particular object in the database without instantiating each object that is retrieved. An example of the use of lite collections can be found within the Bank sample model. Two lite collections were created for the VapAccount class.

The lite collections were created as follows:

  1. Launch the Model Browser.
  2. Select Bank from the Models view.
  3. Select VapAccount from the Model Classes.
  4. Select Edit Class from the Classes menu.

    This launches the Class Editor.


    Figure pgs2u not displayed.

  5. Click on the Lite Collections tab.
  6. Click New.

    This launches a dialog.


    Figure pgs2v not displayed.

  7. Type byCustomer for the name of the lite collection.
  8. Select OK.
  9. Select Customer from the Filter property menu.
  10. Select balance and accountNumber, the properties to be retrieved, from the Class properties.
  11. Select Suppports Packeting if you want packeting turned on.
  12. Select Apply.
  13. Select OK.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]