Ed Leafe wrote: > dabo Commit > Revision 4887 > Date: 2008-12-27 08:07:29 -0800 (Sat, 27 Dec 2008) > Author: Ed > Trac: http://trac.dabodev.com/changeset/4887 > > Changed: > U trunk/dabo/biz/dBizobj.py > U trunk/dabo/db/dCursorMixin.py > > Log: > Added the method 'setValuesByDict()' to allow setting several fields with new > values by passing them to the bizobj as a dictionary in the form of: > fieldName: newValue. No UI updating is done.
+1, but called simply "setValues()", and make it allow the kwargs syntax as well, like: biz.setValues(last_name="McNett", first_name="Paul") Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
