问题描述
如何在 Visual Studio 2013 中为 Sqlite 配置实体框架 6.x.我想使用 Entity Framework 6.x 为 Sqlite 配置我的 win-form 应用程序.我需要逐步描述流程.
我尝试了一些解决方案,但没有一个是针对特定系统要求的直接解决方案.有一些与此类似的问题,但总的来说,他们要求解决他们的问题.我的观点是,我想要一个整洁的分步流程来做到这一点,这样人们就可以为这件事找到一个直接的方法.
目前我已经从
在页面上搜索:32 位 Windows (.NET Framework 4.5.1) 的设置
并下载 VS 2013 的包(那个说它是唯一一个安装 VS 2013 包的粗体字).
确保将 DLL 保存到 GAC 并安装设计时组件(这需要一些时间).
开始 VS.
您现在应该可以向 SQLite 数据库文件添加连接了.
How can I configure entity framework 6.x for Sqlite in Visual Studio 2013. I want to configure my win-form application for SqLite with Entity Framework 6.x. I need process step by step described.
I tried some solutions, but no one is straight forward for the specific system requirement. There is some questions similar this, but in all they are asking to resolve their problem. My point is that, I want a neat step by step process to do this, so that people can get a straight forward way for this thing.
Currently I have installed data provided for .net framework 4.5.1 from here and entity framework 6.0.2 for Sqlite from nuget. But when I am adding Ado.Net Entity Data Model, there is no provider listed for Sqlite db connection.
Close VS.
Go to this page: http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
Search for this on the page:
Setups for 32-bit Windows (.NET Framework 4.5.1)
and download the bundle for VS 2013 (The one that sais it's the only one that installs the packages for VS 2013 in bold letters).
Make sure to save the DLLs to GAC and to install the design time components (this does take some time).
Start VS.
You should be able to add connections to an SQLite database file now.
这篇关于如何在 Visual Studio 2013 中为 sqlite 配置实体框架 6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!