Share via


DataService<T> Constructor

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

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New DataService()
public DataService()
public:
DataService()
new : unit -> DataService
public function DataService()

Remarks

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.

See Also

Reference

DataService<T> Class

System.Data.Services Namespace