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

[Solved] Error adding domain mode VS 2010 and OpenAccess 2010.2.714.1

3 Answers 87 Views
General Discussions
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 Anselmo
Top achievements
Rank 1
John Anselmo asked on 11 Oct 2010, 01:47 PM
Hello,

I have a WinForms app which I am developing under VS 2010.  Initially, I had been trying to use OpenAccess 2010.1 624.  Once I add the domain model (following the examples and on telerik.tv) I can't reference the context in any class.  I have tried creating the model in the same namespace and in a seperate class library, then adding a reference to the library, but it still doesn't seem to work.  I downloaded the express version of OA ( 2010.2.714.1) yet I see the same results.  I notice on some of the examples on telerik.tv are using VS 2010 as the dev environment so I assumed it was compatible.  I am using SqlServer Express as the db.   Any help is greatly appreaciated.

Thanks

John 

3 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 14 Oct 2010, 10:37 AM
Hi John Anselmo,

This could happen if the domain context has not been generated. You can check if the class is generated if you expand the rlinq file in Visual Studio and open the cs(vb) file with the same name as your rlinq file, for example EntityDiagrams1.cs(vb). If this file is empty, this this would mean that there is a problem with the code generation. You would probably get some errors in the Error pane of Visual Studio in that case.
If the context class is there though, you should be able to access it by additionally specifying the namespace it belongs to.
Nevertheless, I would suggest you to upgrade to the latest internal build that we released yesterday. It has version 2010.2.1013.8 and contains a lot of new fixes. Hope that helps.

Regards,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
John Anselmo
Top achievements
Rank 1
answered on 16 Oct 2010, 04:12 PM
Hello Alexander,

Thanks for the response.  Where do I get the latest version?  The version I see listed under downloads says "Latest Version: 2010.1 624 (Jun 24, 2010)"

Thanks

John
0
Alexander
Telerik team
answered on 19 Oct 2010, 05:23 PM
Hello John Anselmo,

In order to download an internal build, you should have downloaded the latest official version prior to that build. For example, to see the latest 2010.2.1013.8 build, you should first download the official 2010 Q2 version - 2010.2.714. Please excuse us for the inconvenience caused.

Sincerely yours,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
John Anselmo
Top achievements
Rank 1
Answers by
Alexander
Telerik team
John Anselmo
Top achievements
Rank 1
Share this question
or