There is no built in property level change tracker in WCF Data Services Client so I have created my own property change tracker.
After a caller invokes DataServiceContext.SaveChanges()
, I would like to clear my tracked modified properties collection. I don't see any events or hooks that allow me to know when SaveChanges() is called. Are there any events or hooks that I am missing that would allow me to do this more cleanly than hiding the underlying SaveChanges() with my derived DataServiceContext?
below post from WCF Data Service blog might be able to help u:
http://blogs.msdn.com/b/astoriateam/archive/2013/07/26/using-the-new-client-hooks-in-wcf-data-services-client.aspx