The ORM doesn't create entities that don't already have corrresponding tables or views in the database, Therefore, when I said to create a parent filter and the child filters, you could do this by directly creating tables in the database, or by programmatically creating and storing them in the database.
Once you have created the table for the parent filter table and the child filter itable n the database, you would then typically open the ORM Tool to create mapping between the database tables and the Parent and Child Entity.
Some ORM Tools allow you to start from a desgn, and they will generate tables in the database. In DevForce, you almost akways start with the database first.
Once you have created a Parent and a Child Entity and mapped these entities in the ORM Tool, you can then build a UI that can create any number of Parent and Child Entities. For example, let us say that you want to build a UI that will allow a user to build any number of Product Lists. User hits "Create Product List" button. and he then sees a list of all of the products with unchecked checbox beside each product. The user then checks the checkbox for products 1, 4, 7, 10, 11, and 14. The user then hits the "Save Product List" button, and is prompted for a name. The UI then creates the Product List.
Edited by davidklitzke - 25-Apr-2008 at 9:28am