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?

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.




Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why