Microsoft.Data.Sqlite
                              
                            
                                10.0.0-rc.2.25466.103
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    Requires NuGet 3.6 or higher.
dotnet add package Microsoft.Data.Sqlite --version 10.0.0-rc.2.25466.103
NuGet\Install-Package Microsoft.Data.Sqlite -Version 10.0.0-rc.2.25466.103
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0-rc.2.25466.103" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="10.0.0-rc.2.25466.103" />
<PackageReference Include="Microsoft.Data.Sqlite" />
paket add Microsoft.Data.Sqlite --version 10.0.0-rc.2.25466.103
#r "nuget: Microsoft.Data.Sqlite, 10.0.0-rc.2.25466.103"
#:package Microsoft.Data.Sqlite@10.0.0-rc.2.25466.103
#addin nuget:?package=Microsoft.Data.Sqlite&version=10.0.0-rc.2.25466.103&prerelease
#tool nuget:?package=Microsoft.Data.Sqlite&version=10.0.0-rc.2.25466.103&prerelease
Microsoft.Data.Sqlite is a lightweight ADO.NET provider for SQLite. The EF Core provider for SQLite is built on top of this library. However, it can also be used independently or with other data access libraries.
Installation
The latest stable version is available on NuGet.
dotnet add package Microsoft.Data.Sqlite
Use the --version option to specify a preview version to install.
Basic usage
This library implements the common ADO.NET abstractions for connections, commands, data readers, and so on. For more information, see Microsoft.Data.Sqlite on Microsoft Docs.
using var connection = new SqliteConnection("Data Source=Blogs.db");
connection.Open();
using var command = connection.CreateCommand();
command.CommandText = "SELECT Url FROM Blogs";
using var reader = command.ExecuteReader();
while (reader.Read())
{
    var url = reader.GetString(0);
}
Getting support
If you have a specific question about using these projects, we encourage you to ask it on Stack Overflow. If you encounter a bug or would like to request a feature, submit an issue. For more details, see getting support.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    .NETStandard 2.0- Microsoft.Data.Sqlite.Core (>= 10.0.0-rc.2.25466.103)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.11)
- SQLitePCLRaw.core (>= 2.1.11)
 
GitHub repositories (200)
Showing the top 20 popular GitHub repositories that depend on Microsoft.Data.Sqlite:
| Repository | Stars | 
|---|---|
| microsoft/PowerToys 
                                                            Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
                                                         | |
| jellyfin/jellyfin 
                                                            The Free Software Media System - Server Backend & API
                                                         | |
| microsoft/semantic-kernel 
                                                            Integrate cutting-edge LLM technology quickly and easily into your apps
                                                         | |
| DapperLib/Dapper 
                                                            Dapper - a simple object mapper for .Net
                                                         | |
| abpframework/abp 
                                                            Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
                                                         | |
| duplicati/duplicati 
                                                            Store securely encrypted backups in the cloud!
                                                         | |
| aspnetboilerplate/aspnetboilerplate 
                                                            ASP.NET Boilerplate - Web Application Framework
                                                         | |
| Flow-Launcher/Flow.Launcher 
                                                            :mag: Quick file search & app launcher for Windows with community-made plugins
                                                         | |
| nopSolutions/nopCommerce 
                                                            ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
                                                         | |
| quartznet/quartznet 
                                                            Quartz Enterprise Scheduler .NET
                                                         | |
| NLog/NLog 
                                                            NLog - Flexible and Structured Logging for various .NET Platforms
                                                         | |
| TechnitiumSoftware/DnsServer 
                                                            Technitium DNS Server
                                                         | |
| microsoft/VFSForGit 
                                                            Virtual File System for Git: Enable Git at Enterprise Scale
                                                         | |
| DotNetNext/SqlSugar 
                                                            .Net aot ORM   SqlServer ORM Mongodb ORM MySql  瀚高 Postgresql ORM  DB2 Hana 高斯 Duckdb C# VB.NET Sqlite  ORM Oracle ORM Mysql Orm 虚谷数据库 达梦 ORM 人大金仓 ORM 神通ORM  C# ORM , C# ORM .NET ORM NET9 ORM .NET8 ORM ClickHouse ORM QuestDb ,TDengine ORM,OceanBase ORM,GaussDB ORM,Tidb ORM Object/Relational Mapping
                                                         | |
| kurrent-io/KurrentDB 
                                                            KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
                                                         | |
| ServiceStack/ServiceStack 
                                                            Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
                                                         | |
| umbraco/Umbraco-CMS 
                                                            Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
                                                         | |
| akkadotnet/akka.net 
                                                            Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
                                                         | |
| ZGGSONG/STranslate 
                                                            A ready-to-go translation ocr tool developed with WPF/WPF 开发的一款即用即走的翻译、OCR工具
                                                         | |
| Xabaril/AspNetCore.Diagnostics.HealthChecks 
                                                            Enterprise HealthChecks for ASP.NET Core Diagnostics Package
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 10.0.0-rc.2.25466.103 | 0 | 9/22/2025 | 
| 10.0.0-rc.1.25451.107 | 0 | 9/22/2025 | 
| 10.0.0-rc.1.25421.113 | 0 | 8/28/2025 | 
| 10.0.0-preview.7.25380.108 | 0 | 8/11/2025 | 
| 10.0.0-preview.7.25380.105 | 0 | 8/6/2025 | 
| 10.0.0-preview.6.25358.103 | 0 | 7/17/2025 | 
| 10.0.0-preview.6.25321.102 | 0 | 6/25/2025 | 
| 10.0.0-preview.5.25280.105 | 0 | 6/2/2025 | 
| 10.0.0-preview.5.25277.114 | 0 | 6/3/2025 | 
| 10.0.0-preview.5.25277.101 | 0 | 5/29/2025 | 
| 10.0.0-preview.4.25266.103 | 0 | 5/20/2025 | 
| 10.0.0-preview.4.25255.103 | 0 | 5/12/2025 | 
| 9.0.10 | 0 | 9/25/2025 | 
| 9.0.7 | 0 | 7/11/2025 | 
| 3.0.0-preview.19074.3 | 2 | 1/28/2019 | 
| 3.0.0-preview.18572.1 | 2 | 11/30/2018 |