DotNetSQLiteLibrary 1.8.0

dotnet add package DotNetSQLiteLibrary --version 1.8.0
                    
NuGet\Install-Package DotNetSQLiteLibrary -Version 1.8.0
                    
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="DotNetSQLiteLibrary" Version="1.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetSQLiteLibrary" Version="1.8.0" />
                    
Directory.Packages.props
<PackageReference Include="DotNetSQLiteLibrary" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DotNetSQLiteLibrary --version 1.8.0
                    
#r "nuget: DotNetSQLiteLibrary, 1.8.0"
                    
#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.
#addin nuget:?package=DotNetSQLiteLibrary&version=1.8.0
                    
Install as a Cake Addin
#tool nuget:?package=DotNetSQLiteLibrary&version=1.8.0
                    
Install as a Cake Tool

SQLiteLibrary

Nuget

This library provides a thin C# wrapper around the prebuilt windows DLL of the SQLite library https://sqlite.org.

The idea is to provide a .NET friendly interface to the C API without extending its functionality. Therefore only the default SQLite datatypes are supported. For other data types (e.g. DateTime) the conversion algorithm has to be specified in the calls. At the moment only the basic functionality of the C API is implemented (see the SQLiteLibraryTest project for typical use cases).

Since the connection object of the SQLite library is not thread safe, it is important that in C# for each thread a new SQLiteConnection is created. Sharing a SQLiteConnection between threads will cause database corruption in the long run - do not do this!

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • 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.8.0 12 6/29/2025
1.7.0 260 6/9/2025
1.6.3 150 5/7/2025
1.6.2 123 2/10/2025
1.6.1 90 1/14/2025
1.6.0 114 1/5/2025
1.5.1 115 12/17/2024
1.5.0 127 11/15/2024
1.4.5 118 11/9/2024
1.4.4 158 8/15/2024
1.4.3 130 5/23/2024
1.4.2 161 1/30/2024
1.4.1 140 1/24/2024
1.4.0 148 1/15/2024
1.3.1.1 215 12/4/2023
1.3.1 154 11/28/2023
1.3.0 158 11/14/2023
1.2.5 169 10/6/2023
1.2.4 158 9/6/2023
1.2.3 201 5/18/2023
1.2.2.2 226 4/10/2023
1.2.2.1 290 2/23/2023
1.2.2 298 2/21/2023
1.2.1 284 2/10/2023
1.2.0 319 12/16/2022
1.1.0 377 11/8/2022
1.1.0-preview-3 213 9/29/2022
1.1.0-preview-2.1 159 9/16/2022
1.1.0-preview-2 207 9/16/2022
1.1.0-preview 217 9/16/2022
1.0.3.2 450 7/27/2022
1.0.3.1 450 7/26/2022
1.0.3 438 7/25/2022
1.0.2.2 480 5/15/2022
1.0.2.1 526 4/22/2022
1.0.2 460 3/11/2022
1.0.1 502 2/5/2022
1.0.0 499 2/2/2022

Native SQLite version 3.50.2. Add BindNullableParameter methods.