Article relates to
Telerik OpenAccess ORM
May 13, 2010
Last modified by
DESCRIPTION This article explains how to reverse engineer an existing database schema to a class library with Visual Studio 2008 and Open Access O/R mapper tool. SOLUTION
Open Visual Studio and create a new class library project (C# or VB). Right click on your newly created project, Add and then up the New Item dialog. Then choose the Telerik OpenAccess Domain Model template and click Add. This will open up the Data Connection Dialog. Input your settings and click Next.
Then OpenAccess will read your database schema and give you the choice which tables should be mapped to classes. Check all tables and click Finish.
OpenAccess will automatically generate classes corresponding to the selected tables. If the table looks like a join table OpenAccess will not create a class for it but rather use it as it is intended to. If you click Next instead of Finish you can configure the naming setting of the generation and specify things such as default namespace and how the mapping should be generated.
You are done now and should be able to compile your project.