CRUD Operations

In keeping with the principles of Representational State Transfer (REST), WDS provides a mechanism for selecting, inserting, updating, and deleting data via HTTP requests to particular URIs. To put this into practice, a client application must be able to formulate its requests using specific HTTP verbs, as shown in Table 47.3.

Image

TABLE 47.3 HTTP Verbs Corresponding to CRUD Operations for WCF Data Services

To simplify the proper creation of these potentially complex HTTP requests, rather than hand-crafting them, you can use the new .NET client library, System.Data.Services.Client, which comes with WDS and is automatically added as ...

Get Microsoft® SQL Server 2012 Unleashed 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.