OpenAccess ORM offers the developer a tremendous benefit by providing the data access plumbing in Web and Windows applications. A best practice is to separate the data tier from the UserInterface and communicate via a Web services, such as WCF. In addition to WCF many developers are also using RESTful web services such as WCF Data Services.
In order to work with these technologies, the developer has to create the service endpoints, which is generic but manual and time consuming task. The Add OpenAccess Services Wizard is a tool that automatically creates the C# or VisualBasic code and necessary project files for using OpenAccess entities with the following services, saving the developer time and eliminating syntax errors and bugs:
- ASP.NET Web API
- WCF Plain Services
- WCF Data Services for .NET 4.0 Version 3
- WCF Data Services for .NET 3.5 Version 1
- REST Collection WCF Services
- ATOM Publishing Protocol WCF Service
Starting the Wizard
To start the Add OpenAccess Services Wizard, right-click your .rlinq file in Solution Explorer and select Add OpenAccess Service....
The Add OpenAccess Service wizard guides you through the following steps:
- Select Source and Output
You should select the output project (the project that will contain the generated service files) and the generated Telerik OpenAccess Domain Model.
- Select Service Type
You need to select the service type.
- Service Configuration
You should specify the name for the generated service and the entities that will be exposed by the service.
Here you can see a preview of the generated code.
In This Section
Select Source and Output
Provides UI reference for the Select Source and Output dialog
Select Service Type
Provides UI reference for the Select Service Type dialog
Provides UI reference for the Service Configuration dialog
Provides UI reference for the Preview dialog