Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataService(T) Constructor
Collapse the table of content
Expand the table of content

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)

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.

© 2015 Microsoft