Microsoft.Data.Sqlite 9.0.0

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.

Showing the top 20 packages that depend on Microsoft.Data.Sqlite.

Packages Downloads
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
49
FluentMigrator.Runner.MySql
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
46
FluentMigrator.Runner.Hana
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
45
FluentMigrator
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
44
FluentMigrator.Runner.Oracle
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
43
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
43
Microsoft.EntityFrameworkCore.Sqlite
SQLite data store for Entity Framework.
42
FluentMigrator.Extensions.SqlServer
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
42
FluentMigrator.Extensions.Oracle
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
42
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
42
FluentMigrator.Runner.SqlServer
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
42
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
41
FluentMigrator.Runner.Core
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
41
FluentMigrator.Runner.Firebird
FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
41
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
41

Version Downloads Last updated
10.0.1 2 12/10/2025
10.0.0 6 11/13/2025
10.0.0-rc.2.25502.107 6 10/16/2025
10.0.0-rc.1.25451.107 13 9/11/2025
10.0.0-preview.7.25380.108 16 8/14/2025
10.0.0-preview.6.25358.103 17 7/17/2025
10.0.0-preview.5.25277.114 15 6/12/2025
10.0.0-preview.4.25258.110 28 5/16/2025
10.0.0-preview.3.25171.6 28 5/3/2025
10.0.0-preview.2.25163.8 20 3/23/2025
10.0.0-preview.1.25081.1 30 2/26/2025
9.0.11 6 11/13/2025
9.0.10 4 10/16/2025
9.0.9 15 9/11/2025
9.0.8 13 8/8/2025
9.0.7 15 7/9/2025
9.0.6 18 6/12/2025
9.0.5 28 5/20/2025
9.0.4 32 5/3/2025
9.0.3 30 3/17/2025
9.0.2 29 2/20/2025
9.0.1 30 2/20/2025
9.0.0 26 1/6/2025
9.0.0-rc.2.24474.1 27 10/8/2024
9.0.0-rc.1.24451.1 27 9/22/2024
9.0.0-preview.7.24405.3 30 8/14/2024
9.0.0-preview.6.24327.4 42 8/3/2024
9.0.0-preview.5.24306.3 36 8/9/2024
9.0.0-preview.4.24267.1 36 7/10/2024
9.0.0-preview.3.24172.4 40 4/18/2024
9.0.0-preview.2.24128.4 32 5/1/2024
9.0.0-preview.1.24081.2 34 3/5/2024
8.0.22 5 11/13/2025
8.0.21 6 10/16/2025
8.0.20 8 9/11/2025
8.0.19 16 8/7/2025
8.0.18 16 7/9/2025
8.0.17 21 6/12/2025
8.0.16 22 5/20/2025
8.0.15 26 5/3/2025
8.0.14 26 3/17/2025
8.0.13 33 2/20/2025
8.0.12 31 2/20/2025
8.0.11 27 1/6/2025
8.0.10 33 10/9/2024
8.0.8 38 8/20/2024
8.0.7 40 8/5/2024
8.0.6 34 8/8/2024
8.0.5 31 8/9/2024
8.0.4 36 4/19/2024
8.0.3 35 4/25/2024
8.0.2 34 3/5/2024
8.0.1 41 3/5/2024
8.0.0 42 3/5/2024
8.0.0-rc.2.23480.1 37 3/5/2024
8.0.0-rc.1.23419.6 32 3/5/2024
8.0.0-preview.7.23375.4 40 3/5/2024
8.0.0-preview.6.23329.4 38 3/5/2024
8.0.0-preview.5.23280.1 32 3/5/2024
8.0.0-preview.4.23259.3 35 3/5/2024
8.0.0-preview.3.23174.2 28 3/5/2024
8.0.0-preview.2.23128.3 40 3/5/2024
8.0.0-preview.1.23111.4 33 3/5/2024
7.0.20 37 8/5/2024
7.0.19 31 8/8/2024
7.0.18 42 5/1/2024
7.0.17 35 4/18/2024
7.0.16 41 3/5/2024
7.0.15 35 3/5/2024
7.0.14 42 3/5/2024
7.0.13 39 3/5/2024
7.0.12 39 3/5/2024
7.0.11 34 3/5/2024
7.0.10 33 3/5/2024
7.0.9 40 3/5/2024
7.0.8 29 3/5/2024
7.0.7 38 3/5/2024
7.0.5 38 3/5/2024
7.0.4 44 3/5/2024
7.0.3 35 3/5/2024
7.0.2 43 3/5/2024
7.0.1 33 3/5/2024
7.0.0 40 3/5/2024
7.0.0-rc.2.22472.11 33 3/5/2024
7.0.0-rc.1.22426.7 38 3/5/2024
7.0.0-preview.7.22376.2 42 3/5/2024
7.0.0-preview.6.22329.4 39 3/5/2024
7.0.0-preview.5.22302.2 33 3/5/2024
7.0.0-preview.4.22229.2 35 3/5/2024
7.0.0-preview.3.22175.1 35 3/5/2024
7.0.0-preview.2.22153.1 31 3/5/2024
7.0.0-preview.1.22076.6 35 3/5/2024
6.0.36 23 1/6/2025
6.0.35 33 10/8/2024
6.0.33 35 8/14/2024
6.0.32 33 8/4/2024
6.0.31 34 8/5/2024
6.0.30 39 7/20/2024
6.0.29 38 5/1/2024
6.0.28 36 4/30/2024
6.0.27 40 3/5/2024
6.0.26 37 3/5/2024
6.0.25 36 3/5/2024
6.0.24 39 3/5/2024
6.0.23 39 3/5/2024
6.0.22 41 3/5/2024
6.0.21 35 3/5/2024
6.0.20 42 3/5/2024
6.0.19 40 3/5/2024
6.0.18 35 3/5/2024
6.0.16 39 3/5/2024
6.0.15 38 4/18/2024
6.0.14 42 3/5/2024
6.0.13 38 3/5/2024
6.0.12 46 3/5/2024
6.0.11 38 3/5/2024
6.0.10 41 3/5/2024
6.0.9 38 3/5/2024
6.0.8 41 3/5/2024
6.0.7 37 3/5/2024
6.0.6 43 3/5/2024
6.0.5 35 3/5/2024
6.0.4 37 3/5/2024
6.0.3 36 3/5/2024
6.0.2 41 3/5/2024
6.0.1 41 3/5/2024
6.0.0 37 3/5/2024
6.0.0-rc.2.21480.5 32 3/5/2024
6.0.0-rc.1.21452.10 36 3/5/2024
6.0.0-preview.7.21378.4 34 3/5/2024
6.0.0-preview.6.21352.1 31 3/5/2024
6.0.0-preview.5.21301.9 33 3/5/2024
6.0.0-preview.4.21253.1 34 3/5/2024
6.0.0-preview.3.21201.2 38 3/5/2024
6.0.0-preview.2.21154.2 35 3/5/2024
6.0.0-preview.1.21102.2 42 3/5/2024
5.0.17 44 3/5/2024
5.0.16 30 3/5/2024
5.0.15 37 3/5/2024
5.0.14 43 3/5/2024
5.0.13 39 3/5/2024
5.0.12 44 3/5/2024
5.0.11 45 3/5/2024
5.0.10 35 3/5/2024
5.0.9 38 3/5/2024
5.0.8 41 3/5/2024
5.0.7 37 3/5/2024
5.0.6 37 3/5/2024
5.0.5 38 3/5/2024
5.0.4 31 3/5/2024
5.0.3 40 3/5/2024
5.0.2 43 3/5/2024
5.0.1 43 3/5/2024
5.0.0 44 4/12/2022
5.0.0-rc.2.20475.6 35 3/5/2024
5.0.0-rc.1.20451.13 32 3/5/2024
5.0.0-preview.8.20407.4 36 3/5/2024
5.0.0-preview.7.20365.15 34 3/5/2024
5.0.0-preview.6.20312.4 33 3/5/2024
5.0.0-preview.5.20278.2 36 3/5/2024
5.0.0-preview.4.20220.10 39 3/5/2024
5.0.0-preview.3.20181.2 37 3/5/2024
5.0.0-preview.2.20159.4 33 3/5/2024
5.0.0-preview.2.20120.8 32 3/5/2024
3.1.32 32 3/5/2024
3.1.31 40 3/5/2024
3.1.30 36 3/5/2024
3.1.29 45 3/5/2024
3.1.28 43 3/5/2024
3.1.27 32 3/5/2024
3.1.26 36 3/5/2024
3.1.25 37 3/5/2024
3.1.24 38 3/5/2024
3.1.23 41 3/5/2024
3.1.22 38 3/5/2024
3.1.21 37 3/5/2024
3.1.20 36 3/5/2024
3.1.19 34 3/5/2024
3.1.18 38 3/5/2024
3.1.17 29 3/5/2024
3.1.16 36 3/5/2024
3.1.15 39 3/5/2024
3.1.14 40 3/5/2024
3.1.13 32 3/5/2024
3.1.12 35 3/5/2024
3.1.11 35 3/5/2024
3.1.10 38 3/5/2024
3.1.9 35 3/5/2024
3.1.8 46 3/5/2024
3.1.7 39 3/5/2024
3.1.6 37 3/5/2024
3.1.5 34 3/5/2024
3.1.4 32 3/5/2024
3.1.3 38 3/5/2024
3.1.2 35 3/5/2024
3.1.1 40 3/5/2024
3.1.0 35 3/5/2024
3.1.0-preview3.19554.8 36 3/5/2024
3.1.0-preview2.19525.5 39 3/5/2024
3.1.0-preview1.19506.2 36 3/5/2024
3.0.3 37 3/5/2024
3.0.2 39 3/5/2024
3.0.1 34 3/5/2024
3.0.0 38 3/5/2024
3.0.0-rc1.19456.14 34 3/5/2024
3.0.0-preview9.19423.6 34 3/5/2024
3.0.0-preview8.19405.11 39 3/5/2024
3.0.0-preview7.19362.6 34 3/5/2024
3.0.0-preview6.19304.10 32 3/5/2024
3.0.0-preview5.19227.1 35 3/5/2024
3.0.0-preview4.19216.3 37 3/5/2024
3.0.0-preview3.19153.1 29 3/5/2024
3.0.0-preview.19074.3 41 3/5/2024
3.0.0-preview.18572.1 34 3/5/2024
2.3.0 30 2/20/2025
2.2.6 37 3/5/2024
2.2.4 38 3/5/2024
2.2.3 38 3/5/2024
2.2.2 38 3/5/2024
2.2.1 32 3/5/2024
2.2.0 37 3/5/2024
2.2.0-preview3-35497 33 3/5/2024
2.2.0-preview2-35157 41 3/5/2024
2.2.0-preview1-35029 33 3/5/2024
2.1.14 39 3/5/2024
2.1.11 40 3/5/2024
2.1.8 43 3/5/2024
2.1.0 39 3/5/2024
2.1.0-rc1-final 41 3/5/2024
2.1.0-preview2-final 35 3/5/2024
2.1.0-preview1-final 40 3/5/2024
2.0.1 38 3/5/2024
2.0.0 37 3/5/2024
2.0.0-preview2-final 40 3/5/2024
2.0.0-preview1-final 35 3/5/2024
1.1.1 34 3/5/2024
1.1.0 41 3/5/2024
1.1.0-preview1-final 30 3/5/2024
1.0.1 41 3/5/2024
1.0.0 37 3/5/2024
1.0.0-rc2-final 38 3/5/2024
1.0.0-rc1-final 27 3/5/2024
1.0.0-beta8 32 3/5/2024
1.0.0-beta7 33 3/5/2024
1.0.0-beta6 37 3/5/2024
1.0.0-beta1 37 3/5/2024