How to use SQLite with Entity Framework 6 on UWP?

c# entity-framework entity-framework-6 sqlite uwp

Question

I am now developing model classes for Universal Windows Application. Is there any possibility to use EF6 and SQLite together in this project or should I use pre-release of EF7 only?

1
3
10/16/2015 11:27:17 AM

Popular Answer

Sure, you can now use Microsoft.EntityFrameworkCore.Sqlite, but with a little workaround needed.

Useful documentation

A useful walkthrough

Workarounds:

adding an app.config to application layer UWP## Heading ##

Add Ms.EfCore.Tools to app layer (natemcmaster commented on 3 May)

Hope this helps

0
9/29/2016 1:38:53 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