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.
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
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.
Showing the top 5 NuGet packages that depend on Microsoft.Data.Sqlite:
Package
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.
ThinkGeo.Core ThinkGeo.Core works with both .NET Core(3.0 and above) and .NET Framework(4.6.2 and above). It provides geometries, data sources, layers, styles, rendering, and low level functions for building GIS applications. It is the basic core dependency package across all of the ThinkGeo 12.0 product line. ** This is an extension for use in ThinkGeo's product line, and cannot be used standalone. See below for more details. ** Docs and Product Guides: https://docs.thinkgeo.com/ API Documentation: https://wiki.thinkgeo.com/wiki/12.0/thinkgeo.core ThinkGeo Cloud APIs: https://cloud.thinkgeo.com This is a commercial product with a free 30-day evaluation. Start your evaluation by signing up at https://helpdesk.thinkgeo.com/register and downloading the ProductCenter application. Supported Platforms: Windows, Linux, macOS - ThinkGeo UI Components based on .NET Core - ThinkGeo UI for Android. ThinkGeo UI for iOS. ThinkGeo UI for Blazor. ThinkGeo UI for WebApi. ThinkGeo UI for WPF.
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.
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.
5.6K
ServiceStack/ServiceStack Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
5.5K
akkadotnet/akka.net Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
4.9K
umbraco/Umbraco-CMS Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.