On Jan 29, 2010, at 12:10 PM, Jacek Kałucki wrote:

> What I mean by "buffering"?
> When you call new() method, it really doesn't create new data on backend.
> These data is created only when you call save() method,
> till then they exist only in framework persistance layer.
> But when calling delete(), it's executed immediately on backend dataset.
> It's a bit troublesome, don't you think?


        No, it's never been troublesome for me. There is ample protection for 
accidental deletion in the UI layer.

        With new(), most immediate saves would fail, because no values have 
been entered yet.

        So you want to issue a delete(), and not have it actually delete, but 
somehow mark the record for deletion. Then add an additional method called 
"actuallyDelete()" that will delete the marked records?


-- Ed Leafe




_______________________________________________
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]

Reply via email to