We've run into a weird problem. We've been developing with a local proxy, and have now moved the business library to a server for testing, using the WCF Data Portal, NetTcp Binding.
For one of the objects, the value for IsDirty does not seem to be propagated back to the client - i.e., after a (successful) save, on return the object is still marked as dirty. I modified the server-side code to send me an e-mail with various values after the save, and IsDirty is set to false, as expected. However when I trace on the client side, IsDirty is true. So somehow it's as if it's not being sent back to the client (if that makes any sense...) This did not happen when running locally.
So far I haven't seen anything out of the ordinary, but I'm still relatively new at this. Just wondering if anyone here might have an idea as to what may be causing this?
(This is a BusinessBase object.)
What does your code when doing the actually calling save on the object look like?
The most common occurance of this in type of issue in the past has been where you have code like this:
Object = Object.Save()
That's exactly it - I knew it had to be something simple since the business object code itself looked fine.
Thanks a lot for your help! Now I'll go finish cleaning up my mess. :)
Copyright (c) Marimer LLC