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

QuickStartEntitiesContext not found - Getting Started With Open Access

2 Answers 63 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.
Aaron
Top achievements
Rank 1
Aaron asked on 06 Mar 2013, 06:03 AM
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 Answers, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
answered on 06 Mar 2013, 06:07 AM
Could this because I am using the free Open Access version, but am using a non-free database (SQL Server 2008 R2)?
0
Doroteya
Telerik team
answered on 06 Mar 2013, 01:24 PM
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.


Regards,
Doroteya
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.
Tags
Data Access Free Edition
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Doroteya
Telerik team
Share this question
or