Persisting data using WCF Data Services

In the previous recipe, we saw how to read data from WCF Data Services. Apart from reading data, we should be able to persist data using these services. In other words, adding, updating, and deleting data to make the CRUD story complete (CRUD: Create, Read, Update, and Delete, this term is often used to refer to the four basic operations on data).

This recipe will add a new screen to the application built in the previous two recipes to make it possible to create new computers and to update and delete the existing ones. The screen in the following screenshot is similar to the View screenshot, but it has editable fields and some extra buttons:

Getting ready

This recipe builds on the code created in the previous ...

Get Silverlight 4 Data and Services Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.