ADO.NET Data Services includes a powerful client library that provides a programming model that you can use to perform CRUD operations in your applications. To use the ADO.NET Client Library, you need to include the System.Data.Services.Client
namespace in your program. Note that the ADO.NET Client Library is accessible from any client application including Windows Forms, Web Forms, WPF, etc. The two major classes included in this library are the DataServiceContext
class and the DataServiceQuery
class. While the former represents the runtime context of the data service, the latter represents the query against the store.
To start using the ADO.NET Data Service Client, ensure that you add a reference to the System.Data.Services.Client
assembly to your project. See this in the following figure: