我正在尝试利用 Entity Framework 7 和 SQLite 数据库文件制作 Windows Presenter Foundation 应用程序。我已经制作了 *.edmx 模型,但是当尝试生成模型时我无法建立 SQLite 连接。尝试了一切从https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki但没有任何帮助,仍然没有创建正确连接的选项。
已经有类似的问题了——VS 2015 SQLite 数据提供程序- 但那是几个月前的事了。有什么改变吗?有什么方法可以将VS2015上的EF7连接到SQLite吗?
您需要从 SQLite.org 下载安装包。
我唯一能使用的是sqlite-netFx46-setup-bundle-x86-2015-1.0.98.0.exe(64x 版本没有这样做)。
You might also want to get the "SQL Server Compact/SQLite Toolbox" extension for Visual Studio (Tools/Extensions and Updates..). With it you can export tables from MS Sql (beta) among other things. It does work for most tables, had difficulties for tables with multiple primary keys in them (composite keys) though.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)