DataService<T> Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new data service that deploys data of the type indicated by the template class.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public:
DataService()

A new data service that uses system defaults for authorization and caching is created by defining a class that derives from the DataService<T> class and by referencing a compatible data model.

.NET Framework
Available since 3.5
Return to top
Show: