QuickStartEntitiesContext not found - Getting Started With Open Access

Thread is closed for posting
3 posts, 0 answers
  1. Aaron
    Aaron avatar
    2 posts
    Member since:
    Mar 2013

    Posted 06 Mar 2013 Link to this post

    I just installed OpenAccess and am walking through the Getting Started with Telerick Open Access ORM guide.

    After I build my project, I am getting a type or namespace 'QuickStartEntitiesContext' could not be found error message - because the context was not generated.

    I am walking through the Database first Mapping example starting on page 6-10 which takes you through the wizard and starting on page 33 the Working with OpenAccess DataModel on page 33.

    When going through the wizard, I have the "Generate Context" checked on the Code Generation settings.  This is where I would have expected the Context to be generate - but it appears it did not.

    Any ideas on getting this to generate?

    Thanks.  Aaron
  2. Aaron
    Aaron avatar
    2 posts
    Member since:
    Mar 2013

    Posted 06 Mar 2013 Link to this post

    Could this because I am using the free Open Access version, but am using a non-free database (SQL Server 2008 R2)?
  3. Doroteya
    Doroteya avatar
    498 posts

    Posted 06 Mar 2013 Link to this post

    Hi Aaron,

    Thank your for your interest in Telerik OpenAccess ORM.

    The error you experience is due to a typo in the code snippet on page 34 of our Getting Started with Telerik OpenAccess ORM guide, that will be fixed with the next version of the .pdf file.

    In the meantime, I suggest that you replace the following code
    using (var dbContext = new QuickStartEntitiesContext())
    with this one:
    using (var dbContext = new QuickStartEntities.QuickStartEntities())

    I also suggest that you take a look at our Starter video series, that would help you in the process of getting to know OpenAccess.

    In addition, the difference between the free version of OpenAccess and the commercial one is not in the product itself and its features, but in the fact that with the commercial version you get access to our support system. It will allow you to raise support tickets that will be answered within a 24h timeframe.

    If you have additional questions, do not hesitate to get back to us.

    the Telerik team
    OpenAccess ORM Q1 2013 is out featuring Multi-Diagrams, Persistent Data Stream Support and much more. Check out all of the latest highlights.
Back to Top