Accessing data from Silverlight Out of Browser
-
07-07-2021 - |
题
When Silverlight runs in Out of Browser mode and off line, can it get the Sql Server Data from a DataBase located in the local disk by means of an ADO Entity Data Model?
解决方案
I don't think Entity Framework can run in Silverlight due to restrictions imposed by the Silverlight security model (and AFAIK System.Data.dll not available in Silverlight). Typically people use WCF data services client in Silverlight to connect to a data service that exposes your database.
不隶属于 StackOverflow