Użytkownik John Fabiani napisał: > On Friday, November 26, 2010 05:26:23 pm John Fabiani wrote: > >> On Friday, November 26, 2010 05:02:58 pm Jacek Kałucki wrote: >> >>> Hi. >>> >>> I see that dBizobj.new() method calls >>> requeryChildren() method. >>> I think there is no backends that allows null foreign keys, >>> so maybe could we prevent children requery when: >>> - link field has None value >>> - link field equals Dabo TempPKVal? >>> >> Still has to check each child for the link field and maybe >> FillLinkFromParent. >> >> Johnf >> > Duh! missed your point about the null FK. >
I modified two dBizobj methods, setChildLinkFilter() and requery() accordingly to this idea: http://dabo.codepad.org/GVsxDuMg This gives me more than 10% less backend requeries for eight items length child chain. It's not much, but with slow DSL link backend connection difference is noticeable in overall interface responsivity on adding new rows. -- Regards Jacek Kałucki _______________________________________________ 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]
