Entity Framework 7 in Xamarin.Forms

c# entity-framework xamarin xamarin.forms

Accepted Answer

I just had a quick glance at the EF7 nupkg, and it doesn't appear that they have compilations for different platforms.

Additionally, the roadmap, which states:

The November release candidate (RC1) will be a supported and production ready cross-platform release. Depending on feedback from RC1 we will ship additional release candidates as necessary.

RC1 is presently slated for November 2015. It's likely that you'll have to wait till that release before using the nuget package.

You could attempt to create the source code from github to target PCL 78 in the interim, but I doubt it would be worthwhile.

In any scenario, you should be able to construct significant portions of your app and change the data interface as necessary if you adhere to proper MVVM techniques.

7
8/28/2015 4:41:52 PM

Popular Answer

This was requested to be added to EF 7, or as of EF Core 1.0, but there is no clear roadmap for it; perhaps if more users request it there, MS will be compelled to make it:

EF 7 compatibility for Xamarin.Forms

https://github.com/aspnet/EntityFramework/issues/4269



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