RecursiveAI.OneLite.SQLitePCLRaw 1.0.0

Prefix Reserved
dotnet add package RecursiveAI.OneLite.SQLitePCLRaw --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OneLite.SQLitePCLRaw -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RecursiveAI.OneLite.SQLitePCLRaw" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneLite.SQLitePCLRaw" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneLite.SQLitePCLRaw" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OneLite.SQLitePCLRaw --version 1.0.0
                    
#r "nuget: RecursiveAI.OneLite.SQLitePCLRaw, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RecursiveAI.OneLite.SQLitePCLRaw@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OneLite.SQLitePCLRaw&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneLite.SQLitePCLRaw&version=1.0.0
                    
Install as a Cake Tool

RecursiveAI.OneLite.SQLitePCLRaw

An ISQLite3Provider for SQLitePCLRaw that runs on OneLite, a pure-managed, SQLite-compatible database, so Microsoft.Data.Sqlite and Entity Framework Core's SQLite provider can use it without a native library.

// instead of SQLitePCL.Batteries_V2.Init() / bundle_e_sqlite3
RecursiveAI.OneLite.SQLitePCLRaw.OneLiteBatteries.Init();

Reference Microsoft.Data.Sqlite.Core (not Microsoft.Data.Sqlite, whose default bundle brings the native library) and this package.

Foreign keys are on by default here

The adapter turns PRAGMA foreign_keys on for every connection it opens. That matches bundle_e_sqlite3, the package this one replaces, whose native library is built with foreign keys on by default; Microsoft.Data.Sqlite and EF Core rely on it.

The OneLite core (RecursiveAI.OneLite) and RecursiveAI.OneLite.Data keep SQLite's own default, which is off.

To get SQLite's default (off) through the adapter, set OneLiteBatteries.ForeignKeysByDefault = false before opening connections. An explicit PRAGMA foreign_keys or the Foreign Keys connection-string key always wins.

See docs/adapter.md in the repository for the supported surface and known differences.

OneLite is an independent project and is not affiliated with, endorsed by, or sponsored by the SQLite developers or Hipp, Wyrick & Company. SQLite is a registered trademark of Hipp, Wyrick & Company.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 117 11/4/2026