Microsoft.Data.Sqlite 10.0.2

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.
51
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.
50
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.
47
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.
47
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.
46
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.
46
Microsoft.EntityFrameworkCore.Sqlite
SQLite data store for Entity Framework.
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.
44
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.
44
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.
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 database provider for Entity Framework Core.
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.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.
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
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
42

.NET Standard 2.0

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