StrataFrame Forum

Default filter in BO

http://forum.strataframe.net/Topic6555.aspx

By Chan - 2/2/2007

Hi,

I have a table, products. Its records may contains item for multiple types, finished item, assembly, book and etc.

I have item data entry form for each item type.

How could I create BO for each of them, Finished item BO, assembly BO, Book BO and etc?



Thank you
By StrataFrame Team - 2/6/2007

You can map more than one business object to a single table in the database.  So, you can create a BookBO class and then a FinishedItemBO class as well and they could both map to the same table.  When you create the business objects, you will need to modify your Fill methods on each of them to only retrieve the records that match that business object type.