The Service Wizard allows you to generate WCF Data Services based on Telerik Data Access. This topic discusses the changes that the wizard will make to your project when you generate WCF Data Service version 1.
The wizard adds references to:
- <Your Telerik Data Access Model Project>
When WCF Data Service version1 is generated, the wizard will automatically create the actual service files (.svc and .cs) and will add them to the output project.
- DataServiceKeys.cs - defines which properties are key for each entity type exposed by the service.
- DataManager.cs - this is a wrapper around OpenAccessContext that exposes data manipulation endpoints to the DataService.
- EntitiesModelService.svc - this is the hosting svc file for the service.
EntitiesModelService.svc.cs - contains the implementation of the service contract. The implementation uses DataService<T> as base type and sets access rights for entity endpoints.
To see the EntitiesModelService.svc.vb file in VB projects, use the Show All Files command from the Solution Explorer toolbar.