SQL Azure & Entity Framework
-
2009年10月19日 下午 06: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/>- 已移動 Brian AurichMicrosoft Employee, Moderator 2011年1月21日 下午 09:11 (From:SQL Azure - Archive)
所有回覆
-
2009年10月19日 下午 07: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- 已提議為解答 abhijit gadkari 2009年10月19日 下午 07:14
-
2009年10月19日 下午 07:02
I figured out, i set this in the config definition file
enableNativeCodeExecution
="true"
and it worked...- 已標示為解答 Rick NegrinMicrosoft Employee, Moderator 2009年10月26日 下午 04:25

