Binding to an ORM is similar to binding to a DataSet. First you will need to create the models out of an existing database. You can read how to do that for Entity Framework here. And for Telerik Data Access here.

For the purpose of this tutorial you can download a sample database from the here.

After you have mapped your database to local entities your tables should look like this:

Figure 1: Tables Mapped by the ORM

Now, you need to create a form and add a RadScheduler, in this tutorial it is named scheduler. After this we will need to access out data from the database. For this we will need a DbContext reference. In my case my DbContext is of type SchedulerDataEntities1, so we can create it as follows:

Was this article helpful?

/

Give article feedback

Tell us how we can improve this article

Code samples are inaccurate / outdated.
I expected to find other / more information.
There are typos / broken links / broken page elements.
Content is inaccurate / outdated.
Other
By checking this box you consent to Progress contacting you by email about your response on this page.

Community

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.