VS2017 中的 SQLite 提供程序

SQLite provider in VS2017(VS2017 中的 SQLite 提供程序)
本文介绍了VS2017 中的 SQLite 提供程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 VS2017 中使用 EF6 连接 sqlite.我安装了System.Data.SQLite"nuget 包.我还从 http://安装了sqlite-netFx46-setup-bundle-x86-2015-1.0.104.0.exe"system.data.sqlite.org,但添加 ADO.NET 数据实体时看不到 sqlite 提供程序.

I want to connect sqlite using EF6 in VS2017. I installed "System.Data.SQLite" nuget package. I also installed "sqlite-netFx46-setup-bundle-x86-2015-1.0.104.0.exe" from http://system.data.sqlite.org, but I cannot see the sqlite provider when adding ADO.NET data entity.

我错过了什么吗?或者上面的包不支持VS2017(据说是VS2015的)

Am I missing something? or the above package not supporting VS2017 (it said it is for VS2015)

推荐答案

VS 2017(目前)还没有 DDEX 提供程序包.https://system.data.sqlite.org/index.html/tktview?name=8292431f51

There is no DDEX provider package for VS 2017 (yet). https://system.data.sqlite.org/index.html/tktview?name=8292431f51

基本上你需要等待:sqlite-netFx46-setup-bundle-x86-2017-1.0.1xx.0.exe

Basically you need to wait for: sqlite-netFx46-setup-bundle-x86-2017-1.0.1xx.0.exe

官方"更新:

目前估计对 Visual Studio 2017 的支持将包含在 1.0.106.0 版本中,该版本应该在六月中旬的某个时间点.

The current estimate is that support for Visual Studio 2017 will be included in the 1.0.106.0 release, which should be released at some point in the mid-June timeframe.

mistachkin 于 2017-05-28 20:41:40 添加:在这一点上,我似乎不太可能为设计时组件(例如表设计器、实体向导等)添加 VS 2017 支持).

mistachkin added on 2017-05-28 20:41:40: At this point, it seems unlikely that I'll be able to add VS 2017 support for the design-time components (e.g. table designer, entity wizard, etc).

更新:我创建了一个 DDEX 提供程序,它在 Visual Studio 2017 中启用 SQLite 支持(仅适用于 EF6),请参阅此处的操作指南:https://github.com/ErikEJ/SqlCeToolbox/wiki/EF6-workflow-with-SQLite-DDEX-提供者

UPDATE: I have created a DDEX provider that enables SQLite support (for EF6 only) in Visual Studio 2017, see the how-to guide here: https://github.com/ErikEJ/SqlCeToolbox/wiki/EF6-workflow-with-SQLite-DDEX-provider

这篇关于VS2017 中的 SQLite 提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

FastAPI + Tortoise ORM + FastAPI Users (Python) - Relationship - Many To Many(FastAPI+Tortoise ORM+FastAPI用户(Python)-关系-多对多)
Window functions not working in pd.read_sql; Its shows error(窗口函数在pd.read_sql中不起作用;它显示错误)
(Closed) Leaflet.js: How I can Do Editing Geometry On Specific Object I Select Only?((已关闭)Leaflet.js:如何仅在我选择的特定对象上编辑几何图形?)
in sqlite update trigger with multiple if/Case Conditions(在具有多个IF/CASE条件的SQLite UPDATE触发器中)
Android: Why is Room so slow?(Android:为什么Room这么慢?)
Remote Procedure call failed with sql server 2008 R2(使用 sql server 2008 R2 的远程过程调用失败)