【问题标题】:How to use SQLite with Entity Framework 6 on UWP?如何在 UWP 上将 SQLite 与 Entity Framework 6 一起使用?
【发布时间】:2016-01-15 03:21:43
【问题描述】:

我现在正在为通用 Windows 应用程序开发模型类。在这个项目中是否有可能同时使用 EF6 和 SQLite 或者我应该只使用 EF7 的预发布版本?

【问题讨论】:

标签: c# entity-framework sqlite entity-framework-6 uwp


【解决方案1】:

当然,您现在可以使用Microsoft.EntityFrameworkCore.Sqlite,但需要一些解决方法。

Useful documentation

A useful walkthrough

解决方法:

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

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

希望对你有帮助

【讨论】:

    猜你喜欢
    • 2015-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-12
    • 1970-01-01
    • 2016-05-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多