SQL Azure & Entity Framework
-
Montag, 19. Oktober 2009 18:53Hi,
Can we use Entity Data Model in Azure? I tried creating a simple app, dropped the EDMX file to a northwind db on my local machine..
When I run it I get a SecurityException, details below...
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
If I set the Web_Role project as the Startup Project, then it works. But if I make the cloud service as the startup project, i get the above exception..
I searched the forum for a while, didnt really get the right info...
<thanks/>- Verschoben Brian AurichMicrosoft Employee, Moderator Freitag, 21. Januar 2011 21:11 (From:SQL Azure - Archive)
Alle Antworten
-
Montag, 19. Oktober 2009 19:00
Yes - you can use entity data model with SQL Azure - I have done this and its working fine [http://www.zimbatech.com/healthcaredemo]
I guess your question is related to the .NET services , if this is the case then I would post this on http://social.msdn.microsoft.com/Forums/en-US/netservices/threads/
abhi
Enterprise Architect- Als Antwort vorgeschlagen abhijit gadkari Montag, 19. Oktober 2009 19:14
-
Montag, 19. Oktober 2009 19:02
I figured out, i set this in the config definition file
enableNativeCodeExecution
="true"
and it worked...- Als Antwort markiert Rick NegrinMicrosoft Employee, Moderator Montag, 26. Oktober 2009 16:25

