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

Curious about OpenAccess.35 vs OpenAccess.40 extensions

2 Answers 301 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
cori
Top achievements
Rank 1
cori asked on 18 Nov 2010, 07:56 PM
I'm a relative n00b to OpenAccess ORM, so please excuse any perceived denseness...

I added an OA domain model to a migration project with great success - was able to relatively quickly populate a database from data in a complex set of Excel spreadsheets.  The console app that's doing the work is running .Net 4.0, and the references for the project have both the Telerik.OpenAccess.40.Extensions and the Telerik.OpenAccess.35.Extensions dlls.

Now I'm taking the model from there and creating its own class library to use in another portion of the project, and I noticed that even though the library project is also .Net 4.0 only the Telerik.OpenAccess.35.Extensions dll references are added when I add the Data Model to the project.

What's the difference between the two (if it's not .Net 3.5 vs .Net 4.0 as I assumed) and how does OpenAccess choose between them?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
PetarP
Telerik team
answered on 19 Nov 2010, 11:57 AM
Hi cori,

 You only need to add reference to Telerik.OpenAccess.40.Extensions in case you use our old implementation of the astoria data services provider. If you don't need our context that implements the IUpdatable interface then you should not need to include a reference to the .40.Extensions assembly but only to 35. 
I hope my response was useful to you.

Regards,
Petar
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
0
cori
Top achievements
Rank 1
answered on 19 Nov 2010, 12:31 PM
That makes perfect sense, thanks.  I probably added them to my original project myself - I am certainly not using Astoria.

Thanks!
Tags
Getting Started
Asked by
cori
Top achievements
Rank 1
Answers by
PetarP
Telerik team
cori
Top achievements
Rank 1
Share this question
or