http://www.telerik.com/support/kb/orm/general/best-practices-with-openaccess.aspx
http://www.telerik.com/support/kb/orm/general/best-practices-two.aspx
Is there any documentation which is using new method?
Regards
5 Answers, 1 is accepted
Both articles demonstrate the most preferable ways of working with Telerik OpenAccess ORM when developing web applications and they apply to both the old (classic) and new (domain model) approaches. Additionally, you could check the OpenAccess SDK Browser where the two approaches are demonstrated in real scenarios. We are planning to release in the next few weeks complete walkthroughs about our SDK examples where will be demonstrated step-by-step how to use the OpenAccessContext in web applications.
If you have further questions, or if you would like to see any specific approach, do not hesitate to contact us.
Best wishes,
Pencho
the Telerik team
Thank you for pointing out right direction.
I had some issues with orm SDK installation couldn't run sdk browser.
But after your message I checked installation folder and found related samples.
Thank you very much for your help.
Regards
Okan
Quick note : sdk does not use system proxy settings. If you are behind corporate proxy you can properly run SDK browser.
Would you mind helping us our by sharing with us your machine configuration and the exact problem you face when starting the SDK browser. You should also be aware what the SDK actually does and this is copying the examples from the program files folder to a folder elsewhere (usually the user temporary directory) and then fixing all the references and dependencies needed prior to compiling your sample.
What I mean to say is that the examples you will be looking at (in the installation directory) might not be working or even compilable if that step has not been executed.
Please share your problem with the SDK browser so that we might provide a solution (just for the sake of it try running it as an administrator, if you aren't already, you also need some SQL server installed).
I hope this helps, and I am looking forward to resolving this issue with you.
Serge
the Telerik team
Actually I had couple of problems both with my home computer and work computer.
At work
- Win7 64bit and visual studio 2008, sqlExpress 2005 installed.
- It's party of the active directory domain and behind a corporate firewall and proxy.
- I am the local admin of the computer.
I think it is because sdk trying to load "getting started" tab and does not read my proxy authentication info from system.
Second error : When I click on a Open In Visual Studio link for a sample SQL server connection dialog appears and tries to attach sample database which is located C:\Users\username\AppData\Local\Telerik.OpenAccess.SDK\DatabaseData. Sql connection dialog can not attach NorthwindOA.mdf because of permission problem.
I manually copied the mdf file and attach to sql server instance and it worked.
We have already fixed the issue with the database installation and this will be released with the next version of the SDK. Most probably by the end of the month.
Thank you for the insight about the Authentication error, we will be further looking into that and hopefully provide a fix for that as well.
Again thanks for assisting us and do find your Telerik points updated for reporting this issue.
Serge
the Telerik team