This is a migrated thread and some comments may be shown as answers.

Add ORM project to database updater

3 Answers 54 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 16 Jan 2014, 08:07 PM
I am trying to build a VB.net solution to update my database using the model.  In the getting started with OpenAccess ORM guide.pdf, the bottom of page 31 says:

4. Add References to:
 - Telerik.OpenAccess.dll
 - Telerik.OpenAccess.35.Extenstions.dll
 - The model project, in the case of this guide: QuickStartEntites

I can add the Telerik dll references just fine, but how do I add the model project?  In my case my model project is called WBSAccessModel.  The add reference dialog Projects tab is empty.  I tried just adding the project using File, Add, Existing project, but that just added EntitiesModel.vb to my solution.

In my main program adding Imports WBSAccessModel is flagged as an error.  Changing it to Imports EntitiesModel doesn't work either.

What am I missing?

3 Answers, 1 is accepted

Sort by
0
Accepted
Kristian Nikolov
Telerik team
answered on 17 Jan 2014, 04:57 PM
Hi John,

The reason for the behavior you are experiencing could be that the projects are not located in the same solution. In order for a project to appear in the Projects tab in the Reference Manager, it should be in the same solution as the project which would reference it.

That means that both the database updater project and the model project (WBSAccessModel) should be in the same solution. Please verify whether that is the case on your side. If the projects are not in the same solution you could add the model project to your updater project`s solution or vice versa as described in this MSDN article.

For more information about configuring a project consuming an OpenAccess Model you could refer to our documentation about the subject.

I hope this helps.

Regards,
Kristian Nikolov
Telerik
OpenAccess ORM Q3 2013 simplifies your model operations even further providing you with greater flexibility. Check out the list of new features shipped with our latest release!
0
John
Top achievements
Rank 1
answered on 17 Jan 2014, 06:28 PM
Hello.  Thank you!  That was the problem.
0
Kristian Nikolov
Telerik team
answered on 20 Jan 2014, 03:10 PM
Hi John,

I am glad the situation is resolved. Should you have any more questions, feel free to post at our forums again.

Regards,
Kristian Nikolov
Telerik
OpenAccess ORM Q3 2013 simplifies your model operations even further providing you with greater flexibility. Check out the list of new features shipped with our latest release!
Tags
Data Access Free Edition
Asked by
John
Top achievements
Rank 1
Answers by
Kristian Nikolov
Telerik team
John
Top achievements
Rank 1
Share this question
or