On Monday 15 December 2008 12:53:16 pm Ed Leafe wrote:
> I'll certainly try to help.
Let's say we have two bizobjs.
class OneBizobj(dabo.db.dBizobj):
afterInit(self):
self.DataSource='sosord'
class TwoBizobj(dabo.db.dBizobj):
afterInit(self):
self.DataSource='sosord'
self.addJoin ={lots of joins}
Generally the second bizobj (in this case 'TwoBizobj') is a readonly - the
difference being the many joins needed to retrieve the data for the second
bizobj. We were using views to get around the problem in the past but it
would be nice to just create the bizobj in Dabo.
So it would be nice to have bizobjs that can be marked as readonly and allow
us to reuse the datasource name.
Now that I have said the above. I do have a question on the DataSource. Can
I just rename the DataSource and keep the same addFrom? Or could you explain
the DataSource in my context a little more to expand my understanding of how
Dabo uses the DataSource.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]