Thursday, April 20, 2006

 

Disecting CSLA 2.0 - Looking at SimpleDataProvider in depth

One of the most common pitfalls in CSLA 1.0 during updating/inserting a editable business object is we tend to forget to place MarkNew() during deletion, MarkDirty() when saved and MarkOld() during fetching. These are common pitfalls for developers who creates CSLA business objects w/o using templates. With CSLA 2.0, these methods are automatically called after executing your implementation of DataPortal_XXXX() in your business objects.


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?