Update the current entity with server-side values? (Entity & RiaServices)
hello!
possible update current displayed entity?
scenario following: ask server operations (not directly on current entity), when these 1 finished, server modifiying properties on current entity , give me succeeded reply of true or false.
problem current entity not aware of these server-side modifications.... how can force entity new values server?? there no .refresh() or .reload() method?
context of type system.servicemodel.domainservices.client.domaincontext (http://msdn.microsoft.com/en-us/library/system.servicemodel.domainservices.client.domaincontext(v=vs.91).aspx) wcf riaservices.
help!
the load method of domaincontext takes in loadbehavior enum. if load behavior of mergeintocurrent or refreshcurrent load new values server.
mergeintocurrent keep changed values, refreshcurrent overwrites values.
Silverlight > WCF RIA Services with Silverlight
Comments
Post a Comment