I have a client silverlight application that use RIA service to connect to database
Instead of EntitySet
to manage entities I have a local cache of data that contain a list of all loaded entities and my context is always empty, this allow me to create multiple queries with multiple logical views into same database table and a better refresh(support remove and handle server triggers for changes).
Now my problem is when an entity change and I want to attach it to EntitySet
and submit those changes to the server, Attach
function attach object as unmodified
.
So my question is how can I attach an entity as modified
in the client side of a RIA service. I know how to do it in the server side but I need to do it in the silverlight