net10.0
Data core for Koan: repository primitives, options, and shared helpers for relational and document providers.
Published
Jun 12, 2026
4mo ago
Total Downloads
26.1K
26,092
Install
dotnet add package Sylin.Koan.Data.Core --version 0.17.0
| Product | Versions |
|---|---|
| .NET |
README
Sylin.Koan.Data.Core
Data access core for Koan: common primitives, options, and helpers used by relational/document/vector providers and apps.
- Target framework: net10.0
- License: Apache-2.0
Capabilities
- Entity contracts and helpers for aggregate storage
- Options and conventions shared across data adapters
- Support for paging, streaming, and batching semantics (see references)
Install (minimal setup)
dotnet add package Sylin.Koan.Data.Core
Usage - quick examples
- Prefer first-class model statics for top-level data access in your app models:
Item.All(ct)Item.Query(predicate, ct)Item.FirstPage(pageSize, ct)andItem.Page(cursor, ct)Item.QueryStream(predicate, ct)
- For large sets, use paging or streaming; don’t materialize unbounded results.
- If a first-class static isn’t available, you can fall back to the generic facade (second-class):
Data<TEntity, TKey>.Query(...).
See TECHNICAL.md for contracts, options, and extension points.
Customization
- Configuration and advanced usage are documented in
TECHNICAL.md.
References
- Data access patterns:
/docs/guides/data/all-query-streaming-and-pager.md - Decision:
/docs/decisions/DATA-0061-data-access-pagination-and-streaming.md - Engineering guardrails:
/docs/engineering/index.md - Repo: https://github.com/sylin-labs/Koan-framework
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.