15.5. Creating the Data Model

The first step to use Telerik OpenAccess ORM is to create the data model. In the data model, you will have all the classes that will map to tables, views and stored procedures from the database.

You can build your data model inside your application, but as mentioned before, the recommended pattern is to have the data model in its own project; doing so has these advantages:

  • Maintainability: Your data model will be easily maintainable, because you won't have modify and recompile your application after an update. Also, if you ever have to switch database engines, all you need to do is target the new engine (for example, from Oracle to MySQL) and recompile it.

  • Scalability: If your data model is separate from the application, ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.