net10.0
SQLite provider for Koan relational data: lightweight local development and testing support.
Published
Jun 12, 2026
4mo ago
Total Downloads
4.1K
4,143
Install
dotnet add package Sylin.Koan.Data.Connector.Sqlite --version 0.17.0
| Product | Versions |
|---|---|
| .NET |
README
Sylin.Koan.Data.Connector.Sqlite
SQLite provider for Koan relational data - great for local dev, tests, and simple single-node apps.
- Target framework: net10.0
- License: Apache-2.0
Capabilities
- Zero-config file DB (connection string can be a file path)
- Basic LINQ predicate pushdown via Koan.Data.Relational translator
- Schema helpers (create table/index) via Koan.Data.Relational
Install
dotnet add package Sylin.Koan.Data.Connector.Sqlite
Minimal setup
- Use an on-disk file for persistence or :memory: for tests.
- Bind options at startup; don’t hardcode paths.
Usage - safe snippets
- Prefer first-class model statics:
Todo.FirstPage(100, ct)thenTodo.Page(cursor, ct)await foreach (var t in Todo.QueryStream(x => x.Done == false, ct)) { ... }
// Materialize a small filtered set
var open = await Todo.Query(x => !x.Done, ct);
// Stream when the set may be large
await foreach (var t in Todo.QueryStream(x => !x.Done, ct))
{
// process
}
See TECHNICAL.md for options and dialect notes.
References
- Data access reference:
~/reference/data-access.md - Decision DATA-0061:
~/decisions/DATA-0061-data-access-pagination-and-streaming.md
Changes from Previous Version
No structural changes between v0.8.0 and v0.17.0.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.