CRUD Operations

In keeping with the principles of Representational State Transfer (REST), ADODS 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 45.3.

Table 45.3 HTTP Verbs Corresponding to CRUD Operations for ADO.NET Data Services

image

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 ADODS.

Create a new website ...

Get Microsoft® SQL Server 2008 R2 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.