YuckQi.Data
8.5.1
dotnet add package YuckQi.Data --version 8.5.1
NuGet\Install-Package YuckQi.Data -Version 8.5.1
<PackageReference Include="YuckQi.Data" Version="8.5.1" />
<PackageVersion Include="YuckQi.Data" Version="8.5.1" />
<PackageReference Include="YuckQi.Data" />
paket add YuckQi.Data --version 8.5.1
#r "nuget: YuckQi.Data, 8.5.1"
#:package YuckQi.Data@8.5.1
#addin nuget:?package=YuckQi.Data&version=8.5.1
#tool nuget:?package=YuckQi.Data&version=8.5.1
YuckQi.Data
A .NET library of lightweight data access handlers which can be used to compose repositories and domain services. Defines the core abstractions and base classes that provider-specific implementations extend.
Key Concepts
Handler Architecture
All data operations follow a Template Method pattern where public methods call abstract DoXxx methods that providers implement.
Read Handlers
IRetrievalHandler<TDomainEntity, TIdentifier, TScope>– single-item and list retrieval by identifier, expression predicate, filter criteria, or anonymous objectISearchHandler<TDomainEntity, TIdentifier, TScope>– paginated search with expression predicate, filter criteria, or anonymous object, plus sort criteria
Write Handlers
ICreationHandler<TDomainEntity, TIdentifier, TScope>– single and batch entity creationIRevisionHandler<TDomainEntity, TIdentifier, TScope>– single and batch entity revisionIPhysicalDeletionHandler<TDomainEntity, TIdentifier, TScope>– hard deleteILogicalDeletionHandler<TDomainEntity, TIdentifier, TScope>– soft delete and restore (composed overIRevisionHandler)IActivationHandler<TDomainEntity, TIdentifier, TScope>– activate/deactivate (composed overIRevisionHandler)
Supporting Types
- Filtering –
FilterCriteriaandFilterOperationfor building query predicates - Sorting –
SortCriteriaandSortOrderfor ordering results - Options –
CreationOptions,RevisionOptions, andPropertyHandlingfor controlling automatic property assignment - Unit of Work –
IUnitOfWork<TScope>abstraction;UnitOfWork<TScope, TDbConnection>SQL implementation backed byIDbTransactionfor transactional SQL workflows; provider packages document their own unit of work and transaction behavior - Exceptions –
CreationException,RevisionException,PhysicalDeletionException
Design Patterns
- Scope pattern – all operations accept a
TScope?representing the data store context (e.g.,IDbTransaction) - Sync + async parity – every operation has both synchronous and
Task-returning async overloads - Optional mapper –
IMapper?enables mapping between domain entities and data records; null implies identity mapping
Dependencies
Installation
dotnet add package YuckQi.Data
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- YuckQi.Domain (>= 8.5.1)
- YuckQi.Extensions.Mapping.Abstractions (>= 8.5.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on YuckQi.Data:
| Package | Downloads |
|---|---|
|
YuckQi.Data.Sql.Dapper
An implementation of YuckQi.Data for SQL databases using Dapper and SimpleCRUD. |
|
|
YuckQi.Data.DocumentDb.MongoDb
An implementation of YuckQi.Data for MongoDB databases. |
|
|
YuckQi.Data.Sql.EntityFramework
An implementation of YuckQi.Data for SQL databases using Entity Framework. |
|
|
YuckQi.Data.MemDb
An implementation of YuckQi.Data for a in-memory "database" (ConcurrentDictionary), ideal for rapid development without external dependencies. |
|
|
YuckQi.Data.DocumentDb.DynamoDb
An implementation of YuckQi.Data for Amazon DynamoDB databases. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.5.1 | 279 | 3/18/2026 |
| 8.5.0 | 265 | 3/17/2026 |
| 8.4.0 | 249 | 3/10/2026 |
| 8.3.2 | 253 | 3/9/2026 |
| 8.3.1 | 255 | 3/9/2026 |
| 8.3.0 | 252 | 3/9/2026 |
| 8.2.0 | 270 | 2/1/2026 |
| 8.1.0 | 268 | 1/31/2026 |
| 8.0.0 | 273 | 1/30/2026 |
| 6.5.3 | 3,274 | 9/16/2024 |
| 6.5.2 | 386 | 7/29/2024 |
| 6.5.1 | 486 | 6/27/2024 |
| 6.5.0 | 458 | 6/27/2024 |
| 6.4.2 | 507 | 10/17/2023 |
| 6.4.0 | 476 | 9/18/2023 |
| 6.3.6 | 470 | 9/15/2023 |
| 6.3.5 | 469 | 9/12/2023 |
| 6.3.4 | 562 | 8/3/2023 |
| 6.3.3 | 543 | 8/3/2023 |
| 6.3.2 | 534 | 8/2/2023 |