Service Generation Outcome (Version3)
This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.
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 3.
For more information about the WCF Data Service versioning, please read here.
References
The wizard adds references to:
- System.Data.Entity.dll
- Microsoft.Data.Services.dll
- Microsoft.Data.Services.Client.dll
- System.ServiceModel.dll
- System.ServiceModel.Web.dll
- Telerik.OpenAccess.dll
- Telerik.OpenAccess.35.Extensions.dll
- Telerik.OpenAccess.DataServices.50.dll
- The wizard will ask you to download a NuGet package with the latest Microsoft.Data.Services assembly.
- <Your Telerik Data Access Model Project>
Generated Files
When WCF Data Service version3 is generated, the wizard will automatically create the actual service files (.svc and .cs) and will add them to the output project.
- 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.
-
Telerik.OpenAccess.DataServices folder - contains the entire Telerik Data Access DataServices implementation.
- IOpenAccessMetadataProvider - provides metadata to an OpenAccessDataService.
- OpenAccessDataService - the main entry point for developing an ADO.NET Data Service that expose OpenAccessContext models.
- OpenAccessMetadataProvider - provides metadata to an OpenAccessDataService.
- OpenAccessQueryProvider - defines a metadata and query source implementation for Telerik Data Access Data Service provider.
- OpenAccessUpdateProvider - defines the methods that must be implemented to supply eTag values to the Telerik Data Access Data Service provider.