This documentation is archived and is not being maintained.

DataService<T> Members

Visual Studio 2008

The main entry point for developing an ADO.NET Data Service.

The DataService<T> type exposes the following members.

Public method DataService<T> Creates a new data service that deploys data of the type indicated by the template class.

Public method AttachHost Attaches the data service host to the data service identified by the parameter host.
Protected method CreateDataSource Creates a data source of the template class that will be used by the data service.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method HandleException Called when an exception is raised while processing a request.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnStartProcessingRequest Called before processing each request. For batch requests, it is called one time for the top batch request and one time for each operation in the batch.
Public method ProcessRequest Processes an HTTP request.
Public method ProcessRequestForMessage Processes an HTTP request.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Protected property CurrentDataSource Gets the data source instance currently being used to process the request.
Public property ProcessingPipeline Gets an object that defines the events for the data service processing pipeline.