Applies to Silverlight 4 and 5
Getting data on the client is only one part of the story, in most applications, you'll also have to persist data back to server. More often than not, you'll need to persist a set of entities all at once (for example, if you're creating a master-detail list, you'll have to ensure the master record is available before saving the detail records).
WCF RIA Services supports these scenarios out of the box. Entities support change tracking, and the
DomainContext tracks these changes through a
ChangeSet, which can be persisted to the server when a save is required.
In this recipe, we'll learn how to achieve this.
Before getting started, you've got to make sure the correct ...