General information
Category:
The Mere Mortals Framework
in this case i need n business objects for n tables, but the tables are implementation of class business object, in case i need n tables for modeling a single business object exist a approach? or methodology?.
Thanks in advance Roxanne and thanks for asking
Francisco
>>Hello, i have 2 tables, 1 table have the properties from a object, and second table have the information for working with users, like invoice_properties and invoice , i need create a business object for every table?,
>
>Typically you create a business object for every table you need to add/edit/delete records in. It is common though to have bizobj derived from this framework that containg more than one table or view... but usually the extra tables/views are for lookup purposes only. If you need to add/edit/delete records in two or more tables/views that are related, you probably want to look at doing parent and child business objects which the frameowrk handles very well. HTH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only