Can I use Entity Framework on Windows Phone 8

entity-framework entity-framework-core windows-phone-7

Question

Is it possible to use Entity Framework to save data to a SQL CE database in isolated storage on Windows Phone 8?

When I try and add a reference to EF 5 using NuGet I get the error:

"Failed to add reference to 'System.Data.Entity'. Please make sure that it is in the Global Assembly Cache."

Any ideas?

1
6
6/2/2014 8:37:28 PM

Accepted Answer

Just tested this with VS2013 and EF6 still same problem.

But what is supported (although with limited functionality) is Linq to SQL http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202872(v=vs.105).aspx

At least you get the same ORM style of data access.

2
11/19/2013 9:11:45 PM



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow