On Apr 19, 2007, at 8:47 PM, Carl Karsten wrote:

> I see to instantiate one of these, I need to create the connection  
> first?
>
> class dBizobj(dObject):
>
>       def __init__(self, conn, properties=None, *args, **kwargs):
>
>               cf = self._cursorFactory = conn
>
> I was going to have a BO method create the connection once the user  
> had entered
> in the parameters.  might even write a unit test for this part. so  
> how do I get
> the BO created?

        You can pass None as the connection. Look at demo/games/Bubblet/ 
BubbletForm.py for an example.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to