Can I use Entity Framework on Windows Phone 8

Can I use the Entity Framework to save data to an SQL CE database in isolated storage on Windows Phone 8?

When I try to add a link to EF 5 using NuGet, I get an error:

"Failed to add a link to" System.Data.Entity ". Verify that it is in the global assembly cache.

Any ideas?

+6
source share
3 answers

Just tested this with VS2013 and EF6 is still the same issue.

But what is supported (albeit with limited capabilities) 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 data access style.

+2
source

There is still no version of the Entity Framework called Entity Framework Everywhere, which is currently under development, but their seam mainly focuses on SQL Lite. https://entityframework.codeplex.com/wikipage?title=Entity%20Framework%20Everywhere

0
source

Source: https://habr.com/ru/post/945016/


All Articles