SunnyUI.SQLite.x86 1.0.112

There is a newer version of this package available.
See the version list below for details.
dotnet add package SunnyUI.SQLite.x86 --version 1.0.112                
NuGet\Install-Package SunnyUI.SQLite.x86 -Version 1.0.112                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SunnyUI.SQLite.x86" Version="1.0.112" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SunnyUI.SQLite.x86 --version 1.0.112                
#r "nuget: SunnyUI.SQLite.x86, 1.0.112"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SunnyUI.SQLite.x86 as a Cake Addin
#addin nuget:?package=SunnyUI.SQLite.x86&version=1.0.112

// Install SunnyUI.SQLite.x86 as a Cake Tool
#tool nuget:?package=SunnyUI.SQLite.x86&version=1.0.112                

SunnyUI NuGet Version <a href='https://gitee.com/yhuse/SunnyUI.SQLite/stargazers'><img src='https://gitee.com/yhuse/SunnyUI.SQLite/badge/star.svg?theme=dark' alt='star'></img></a> <a href='https://gitee.com/yhuse/SunnyUI.FrameDecoder/members'><img src='https://gitee.com/yhuse/SunnyUI.SQLite/badge/fork.svg?theme=dark' alt='fork'></img></a>

SunnyUI.SQLite

欢迎交流,QQ群: 56829229 (SunnyUI技术交流群),请给源码项目点个Star吧!!!

开始

Nuget安装最新版本。

Install-Package SunnyUI.SQLite.x86
目的

​ SQLite,是一款零配置、储存在单一磁盘文件中的、轻型的数据库,是遵守ACID的关系型数据库管理系统,它包含在一个相对小的C库中。它是D.RichardHipp建立的公有领域项目。

​ .Net Framework在开发SQLite时,常用的开发库为System.Data.SQLite.dll,System.Data.SQLite 的.Net Framework库下载地址:

System.Data.SQLite: Downloads Page

​ 打开这个网址,眼花缭乱,下载的版本太多了。下面根据个人的理解和网上的资料对下载链接做了一个简单的分析,有错误请指教。

​ 还有可以通过Nuget下载 ,官方的System.Data.SQLite的nuget下载地址:

NuGet Gallery | SQLite

​ Nuget下载的版本只有最新的。System.Data.SQLite.dll在1.0.112.0版本之前是支持数据库连接时带密码的,此版本Nuget已经没有下载了。

​ 综上所述,为了实现引用SQLite库时的便捷性,以及需要的特定的版本,新建此项目,生成nupkg包后将原版本System.Data.SQLite.dll替换进去,方便项目开发。其他下载,Microsoft Visual C++ 可再发行程序包最新支持的下载地址:

最新受支持的 Visual C++ 可再发行程序包下载 | Microsoft Learn

一、静态链接库与动态链接库的区别

静态链接库不需要安装vc++运行库,而动态链接库则必须安装vc++运行库。

二、Bundle与非Bundle的区别

Bundle不需要安装SQLite.Interop.dll,而非Bundle则必须把SQLite.Interop.dll放到输出目录。

三、编译any cpu(同时兼容x86与x64)

1.一定是非Bundle的!非Bundle的!非Bundle的! 注意哦!分别下载Binaries for 32-bit Windows与Binaries for 64-bit Windows的zip文件
2.在你的程序目录里新建两个文件夹x86与x64,分别解压并复制两种版本的SQLite.Interop.dll到相应的目录里,如下:
<bin>\App.exe (optional, managed-only application executable assembly)
<bin>\App.dll (optional, managed-only application library assembly)
<bin>\System.Data.SQLite.dll (required, managed-only core assembly)
<bin>\System.Data.SQLite.Linq.dll (optional, managed-only LINQ assembly)
<bin>\System.Data.SQLite.EF6.dll (optional, managed-only EF6 assembly)
<bin>\x86\SQLite.Interop.dll (required, x86 native interop assembly)
<bin>\x64\SQLite.Interop.dll (required, x64 native interop assembly)

四、Sqlite数据库加密

1.0.112.0 是System.Data.SQLite.dll最后支持带数据库密码连接数据库的版本
1.0.118.0 是目前最新版本

五、SunnyUI.SQLite版本的区别

SunnyUI.SQLite.x86
选择Precompiled Statically-Linked Binaries,Win32,With bundle。
静态链接库,Bundle包。不需要安装vc++运行库,不需要安装SQLite.Interop.dll
-优势:项目文件夹下只有System.Data.SQLite.dll
-劣势:项目只能x86
SunnyUI.SQLite.x64
选择Precompiled Statically-Linked Binaries,x64,With bundle。
静态链接库,Bundle包。不需要安装vc++运行库,不需要安装SQLite.Interop.dll
-优势:项目文件夹下只有System.Data.SQLite.dll
-劣势:项目只能x64
SunnyUI.SQLite.AnyCPU
选择Precompiled Statically-Linked Binaries,x64 and Win32,Without bundle。
静态链接库,非Bundle包。不需要安装vc++运行库,但是需要打包安装SQLite.Interop.dll
-优势:项目可以AnyCPU
-劣势:项目文件夹下不仅有System.Data.SQLite.dll,还有x86和x64文件夹,以及SQLite.Interop.dll
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.118 203 8/20/2023
1.0.112 141 8/20/2023