Add ORM project to database updater

4 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Jan 2014

    Posted 16 Jan 2014 Link to this post

    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?
  2. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 17 Jan 2014 Link to this post

    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!
  3. DevCraft banner
  4. John
    John avatar
    2 posts
    Member since:
    Jan 2014

    Posted 17 Jan 2014 Link to this post

    Hello.  Thank you!  That was the problem.
  5. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 20 Jan 2014 Link to this post

    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!
Back to Top