SQLite:sqlite3.dll和System.Data.SQLite.dll?

编程入门 行业动态 更新时间:2024-10-11 15:14:08
本文介绍了SQLite:sqlite3.dll和System.Data.SQLite.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要使用 SQLite with NHibernate (和 FluentNHibernate )吗?

What do I need to use SQLite with NHibernate (and FluentNHibernate) ?

有:

System.Data.SQLite.dll > System.Data.SQLite.Linq.dll (ADO.NET 2.0提供程序),可从获取sourceforge/projects/sqlite-dotnet2/

System.Data.SQLite.dll and System.Data.SQLite.Linq.dll, (ADO.NET 2.0 provider) available from sourceforge/projects/sqlite-dotnet2/

sqlite3.dll 以二进制下载的形式提供 http://www.sqlite。 org / download.html

sqlite3.dll available as binary download www.sqlite/download.html

有什么区别?我需要两者,还是哪一个?

What is the difference? Do I need both, or which one?

第一个选项安装到C:/ ...程序文件。我可以将它从那里复制到我的自定义SharedLibs文件夹,或者什么引用最初安装的文件?

The first option installs to C:/...Program Files. Can I copy it from there to my custom SharedLibs folder, or will something reference the files originally installed?

推荐答案

您只需要 System.Data.SQLite.dll 。您可以在SharedLibs文件夹中引用此程序集,这应该足够了。 sqlite3.dll 是包含数据库引擎本身的非托管代码,它作为资源嵌入在托管 System.Data.SQLite 装配。也因为这个非托管代码,实际上有两个版本的 System.Data.SQLite 程序集:一个用于x86和一个用于x64,所以请确保引用正确的一个

You only need System.Data.SQLite.dll. You could reference this assembly in your SharedLibs folder and it should be enough. The sqlite3.dll is unmanaged code containing the databae engine itself and it is embedded as resource inside the managed System.Data.SQLite assembly. Also because of this unmanaged code there are actually two versions of the System.Data.SQLite assembly: one for x86 and one for x64, so make sure you reference the correct one for your system.

您可以从这里下载此程序集: http: //sqlite.phxsoftware/

You could download this assembly from here: sqlite.phxsoftware/

更多推荐

SQLite:sqlite3.dll和System.Data.SQLite.dll?

本文发布于:2023-11-11 08:15:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577855.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SQLite   dll   Data   System

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!