Microsoft.Data.Sqlite 9.0.8

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.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
32
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.
32
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.
32
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.
32
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.
31
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
30
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.
30
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
29
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.
29
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.
29
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
29
Microsoft.EntityFrameworkCore.Sqlite
SQLite database provider for Entity Framework Core.
28
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.
28
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.
28

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