This QuickStart illustrates a series of steps one should accomplish to master the basics of using Telerik OpenAccess ORM inside data-aware applications. All the tasks support the topics in the Getting Started chapter.
What You Will Learn
- Step1 - demonstrates how to create the SofiaCarRental database.
- Step2 - use the ReverseMapping Wizard to generate the SofiaCarRental domain model.
- Step3 - demonstrates how to create an ASP.NET application, by using Telerik RadControls for ASP.NET AJAX and Telerik OpenAccess ORM. The application is a web front-end for managing a car rental company.
- Step4 - demonstrates how to queries that access data in the SofiaCarRental model, bind the query results to display controls to show the results of the queries.
- Step5 - demonstrates how to make updates to objects and persist the changes to the database.
Requirements
This QuickStart is intended for users who are familiar with Microsoft Visual Studio development and Microsoft .NET Framework, but who are new to the Telerik OpenAccess ORM. To complete the QuickStart , you must have the following software installed:
- Microsoft Visual Studio 2008 or later version.
- Telerik OpenAccess ORM tool. You can download the Telerik OpenAccess ORM Express edition here.
- Microsoft SQL Server 2005 Express edition or later version.
Estimated time to complete this tutorial: 30 minutes.
In this section
Creating the SofiaCarRental Sample Database
Demonstrates how to create the SofiaCarRental database and load data into the database.
Generating the SofiaCarRental Data Model
Demonstrates how to use Visual Studio tools to generate the persistent classes that represent the SofiaCarRental database.
Creating the CarRentalAgency Application
Demonstrates how to create an ASP.NET application to access data from the SofiaCarRental model.
Querying Objects and References
Demonstrates how to create and execute queries against the objects in the SofiaCarRental model, and bind controls to the results of those queries.
Inserting and Updating Data
Demonstrates how to save changes to object data made by using data controls to the SofiaCarRental database.
The complete source code for the projects can be found here:
C# version
VB.NET version
Data Model