Skip to main content
net10.0

Data core for Koan: repository primitives, options, and shared helpers for relational and document providers.

Published
May 16, 2026
5mo ago
Total Downloads
26.1K
26,100

Install

dotnet add package Sylin.Koan.Data.Core --version 0.8.0
ProductVersions
.NET
net10.0

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: net9.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) and Item.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

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.