Rochas.Data.Specification 1.6.3

dotnet add package Rochas.Data.Specification --version 1.6.3
                    
NuGet\Install-Package Rochas.Data.Specification -Version 1.6.3
                    
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="Rochas.Data.Specification" Version="1.6.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rochas.Data.Specification" Version="1.6.3" />
                    
Directory.Packages.props
<PackageReference Include="Rochas.Data.Specification" />
                    
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 Rochas.Data.Specification --version 1.6.3
                    
#r "nuget: Rochas.Data.Specification, 1.6.3"
                    
#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 Rochas.Data.Specification@1.6.3
                    
#: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=Rochas.Data.Specification&version=1.6.3
                    
Install as a Cake Addin
#tool nuget:?package=Rochas.Data.Specification&version=1.6.3
                    
Install as a Cake Tool

Rochas.Data.Specification

English | Português | Español | Français | Deutsch


English

Rochas.Data.Specification is the contract/specification orchestrator of the Rochas data toolkit — the single, dependency-free layer that unites Rochas.DapperRepository, Rochas.BWOQ, Rochas.SqlWrapper and Rochas.CacheIndexer under one vocabulary of annotations, enums and interfaces.

It replaces Rochas.DapperRepository.Specification (1.5.2, kept on NuGet only as legacy).

Installation

dotnet add package Rochas.Data.Specification

What it contains

Area Content
Annotations Listable, Filterable, RangeFilter, RelatedEntity, AutoGenerated, DataAggregationColumn, RelationalColumn, Cacheable, Indexable
Enums DatabaseEngine, PersistenceAction, DataAggregationType, RelationCardinality, RelationalJunctionType, IndexSection
Interfaces IPersistenceRepository<T>, IGenericRepository<T>, IGenericBwoqRepository<T>, IBwoqQueryBuilder<T>, IQueryBuilder<T>, IQuerySyncBuilder<T>, IQueryPaginatedBuilder<T>, IRelatedEntity, ICacheProvider
Models PaginatedResult<T>, GroupResult<TKey, TItem>

Repository contract hierarchy

IPersistenceRepository<T>                        # pure persistence (Initialize/Add/Update/Remove/Dispose)
  ├── IGenericRepository<T>                      # + Get/GetSync (read) + Count/QueryRaw + Search/Query/OrderBy/GroupBy
  └── IGenericBwoqRepository<T>                  # + Get/GetSync (read) + QueryBwoq() → Q/W/G/O/OD

Class hierarchy (Rochas.DapperRepository)

PersistenceRepository<T>                         # write + internal read (composition)
  ├── GenericRepository<T>                       # + full query builders + BWOQ
  └── GenericBwoqRepository<T>                   # + BWOQ only (via internal GenericRepository)

Requirements

  • netstandard2.1
  • No external dependencies.

Tests and coverage

line coverage tests

The Rochas.Data.Specification assembly has 32 unit tests (xUnit) with 100% line coverage and 100% branch coverage, measured via coverlet (cobertura):

dotnet test Rochas.Data.Specification.Test/Rochas.Data.Specification.Test.csproj \
  --collect:"XPlat Code Coverage" \
  --settings Rochas.Data.Specification.Test/coverage.runsettings
Area Covered lines Coverage
Annotations 26 / 26 100%
Models 22 / 22 100%
Enums — (metadata only) n/a
Interfaces — (metadata only) n/a
Total 48 / 48 100%

License

GPL v2 — see GNUv2_License.txt.


Português

Rochas.Data.Specification é o orquestrador de contratos do toolkit de gestão de dados Rochas — a camada única, sem dependências, que une Rochas.DapperRepository, Rochas.BWOQ, Rochas.SqlWrapper e Rochas.CacheIndexer sob um mesmo vocabulário de anotações, enums e interfaces.

Ela substitui o Rochas.DapperRepository.Specification (1.5.2, mantido no NuGet apenas como legado).

Instalação

dotnet add package Rochas.Data.Specification

O que contém

Área Conteúdo
Annotations Listable, Filterable, RangeFilter, RelatedEntity, AutoGenerated, DataAggregationColumn, RelationalColumn, Cacheable, Indexable
Enums DatabaseEngine, PersistenceAction, DataAggregationType, RelationCardinality, RelationalJunctionType, IndexSection
Interfaces IPersistenceRepository<T>, IGenericRepository<T>, IGenericBwoqRepository<T>, IBwoqQueryBuilder<T>, IQueryBuilder<T>, IQuerySyncBuilder<T>, IQueryPaginatedBuilder<T>, IRelatedEntity, ICacheProvider
Models PaginatedResult<T>, GroupResult<TKey, TItem>

Hierarquia dos contratos de repositório

IPersistenceRepository<T>                        # pure persistence (Initialize/Add/Update/Remove/Dispose)
  ├── IGenericRepository<T>                      # + Get/GetSync (read) + Count/QueryRaw + Search/Query/OrderBy/GroupBy
  └── IGenericBwoqRepository<T>                  # + Get/GetSync (read) + QueryBwoq() → Q/W/G/O/OD

Hierarquia das classes (Rochas.DapperRepository)

PersistenceRepository<T>                         # write + internal read (composition)
  ├── GenericRepository<T>                       # + full query builders + BWOQ
  └── GenericBwoqRepository<T>                   # + BWOQ only (via internal GenericRepository)

Requisitos

  • netstandard2.1
  • Sem dependências externas.

Testes e cobertura

line coverage tests

O assembly Rochas.Data.Specification possui 32 testes unitários (xUnit) com 100% de cobertura de linha e 100% de cobertura de branch, medidos via coverlet (cobertura):

dotnet test Rochas.Data.Specification.Test/Rochas.Data.Specification.Test.csproj \
  --collect:"XPlat Code Coverage" \
  --settings Rochas.Data.Specification.Test/coverage.runsettings
Área Linhas cobertas Cobertura
Annotations 26 / 26 100%
Models 22 / 22 100%
Enums — (apenas metadados) n/a
Interfaces — (apenas metadados) n/a
Total 48 / 48 100%

Licença

GPL v2 — veja GNUv2_License.txt.


Español

Rochas.Data.Specification es el orquestador de contratos del kit de herramientas de gestión de datos Rochas — la capa única, sin dependencias, que une Rochas.DapperRepository, Rochas.BWOQ, Rochas.SqlWrapper y Rochas.CacheIndexer bajo un mismo vocabulario de anotaciones, enums e interfaces.

Reemplaza a Rochas.DapperRepository.Specification (1.5.2, mantenido en NuGet solo como legado).

Instalación

dotnet add package Rochas.Data.Specification

Qué contiene

Área Contenido
Annotations Listable, Filterable, RangeFilter, RelatedEntity, AutoGenerated, DataAggregationColumn, RelationalColumn, Cacheable, Indexable
Enums DatabaseEngine, PersistenceAction, DataAggregationType, RelationCardinality, RelationalJunctionType, IndexSection
Interfaces IPersistenceRepository<T>, IGenericRepository<T>, IGenericBwoqRepository<T>, IBwoqQueryBuilder<T>, IQueryBuilder<T>, IQuerySyncBuilder<T>, IQueryPaginatedBuilder<T>, IRelatedEntity, ICacheProvider
Models PaginatedResult<T>, GroupResult<TKey, TItem>

Jerarquía de los contratos de repositorio

IPersistenceRepository<T>                        # pure persistence (Initialize/Add/Update/Remove/Dispose)
  ├── IGenericRepository<T>                      # + Get/GetSync (read) + Count/QueryRaw + Search/Query/OrderBy/GroupBy
  └── IGenericBwoqRepository<T>                  # + Get/GetSync (read) + QueryBwoq() → Q/W/G/O/OD

Jerarquía de las clases (Rochas.DapperRepository)

PersistenceRepository<T>                         # write + internal read (composition)
  ├── GenericRepository<T>                       # + full query builders + BWOQ
  └── GenericBwoqRepository<T>                   # + BWOQ only (via internal GenericRepository)

Requisitos

  • netstandard2.1
  • Sin dependencias externas.

Pruebas y cobertura

line coverage tests

El ensamblado Rochas.Data.Specification tiene 32 pruebas unitarias (xUnit) con 100% de cobertura de línea y 100% de cobertura de rama, medidas con coverlet (cobertura):

dotnet test Rochas.Data.Specification.Test/Rochas.Data.Specification.Test.csproj \
  --collect:"XPlat Code Coverage" \
  --settings Rochas.Data.Specification.Test/coverage.runsettings
Área Líneas cubiertas Cobertura
Annotations 26 / 26 100%
Models 22 / 22 100%
Enums — (solo metadatos) n/a
Interfaces — (solo metadatos) n/a
Total 48 / 48 100%

Licencia

GPL v2 — consulte GNUv2_License.txt.


Français

Rochas.Data.Specification est l'orchestrateur de contrats de la boîte à outils de gestion de données Rochas — la couche unique, sans dépendance, qui réunit Rochas.DapperRepository, Rochas.BWOQ, Rochas.SqlWrapper et Rochas.CacheIndexer autour d'un même vocabulaire d'annotations, d'enums et d'interfaces.

Il remplace Rochas.DapperRepository.Specification (1.5.2, conservé sur NuGet uniquement comme héritage).

Installation

dotnet add package Rochas.Data.Specification

Contenu

Domaine Contenu
Annotations Listable, Filterable, RangeFilter, RelatedEntity, AutoGenerated, DataAggregationColumn, RelationalColumn, Cacheable, Indexable
Enums DatabaseEngine, PersistenceAction, DataAggregationType, RelationCardinality, RelationalJunctionType, IndexSection
Interfaces IPersistenceRepository<T>, IGenericRepository<T>, IGenericBwoqRepository<T>, IBwoqQueryBuilder<T>, IQueryBuilder<T>, IQuerySyncBuilder<T>, IQueryPaginatedBuilder<T>, IRelatedEntity, ICacheProvider
Models PaginatedResult<T>, GroupResult<TKey, TItem>

Hiérarchie des contrats de dépôt

IPersistenceRepository<T>                        # pure persistence (Initialize/Add/Update/Remove/Dispose)
  ├── IGenericRepository<T>                      # + Get/GetSync (read) + Count/QueryRaw + Search/Query/OrderBy/GroupBy
  └── IGenericBwoqRepository<T>                  # + Get/GetSync (read) + QueryBwoq() → Q/W/G/O/OD

Hiérarchie des classes (Rochas.DapperRepository)

PersistenceRepository<T>                         # write + internal read (composition)
  ├── GenericRepository<T>                       # + full query builders + BWOQ
  └── GenericBwoqRepository<T>                   # + BWOQ only (via internal GenericRepository)

Configuration requise

  • netstandard2.1
  • Aucune dépendance externe.

Tests et couverture

line coverage tests

L'assembly Rochas.Data.Specification contient 32 tests unitaires (xUnit) avec 100% de couverture de ligne et 100% de couverture de branche, mesurés avec coverlet (cobertura) :

dotnet test Rochas.Data.Specification.Test/Rochas.Data.Specification.Test.csproj \
  --collect:"XPlat Code Coverage" \
  --settings Rochas.Data.Specification.Test/coverage.runsettings
Domaine Lignes couvertes Couverture
Annotations 26 / 26 100%
Models 22 / 22 100%
Enums — (métadonnées uniquement) n/a
Interfaces — (métadonnées uniquement) n/a
Total 48 / 48 100%

Licence

GPL v2 — voir GNUv2_License.txt.


Deutsch

Rochas.Data.Specification ist der Vertrags-/Spezifikations-Orchestrator des Rochas-Daten-Toolkits — die einzige, abhängigkeitsfreie Schicht, die Rochas.DapperRepository, Rochas.BWOQ, Rochas.SqlWrapper und Rochas.CacheIndexer unter einem gemeinsamen Vokabular aus Annotations, Enums und Interfaces vereint.

Es ersetzt Rochas.DapperRepository.Specification (1.5.2, auf NuGet nur als Legacy weitergeführt).

Installation

dotnet add package Rochas.Data.Specification

Was ist enthalten

Bereich Inhalt
Annotations Listable, Filterable, RangeFilter, RelatedEntity, AutoGenerated, DataAggregationColumn, RelationalColumn, Cacheable, Indexable
Enums DatabaseEngine, PersistenceAction, DataAggregationType, RelationCardinality, RelationalJunctionType, IndexSection
Interfaces IPersistenceRepository<T>, IGenericRepository<T>, IGenericBwoqRepository<T>, IBwoqQueryBuilder<T>, IQueryBuilder<T>, IQuerySyncBuilder<T>, IQueryPaginatedBuilder<T>, IRelatedEntity, ICacheProvider
Models PaginatedResult<T>, GroupResult<TKey, TItem>

Hierarchie der Repository-Verträge

IPersistenceRepository<T>                        # pure persistence (Initialize/Add/Update/Remove/Dispose)
  ├── IGenericRepository<T>                      # + Get/GetSync (read) + Count/QueryRaw + Search/Query/OrderBy/GroupBy
  └── IGenericBwoqRepository<T>                  # + Get/GetSync (read) + QueryBwoq() → Q/W/G/O/OD

Klassenhierarchie (Rochas.DapperRepository)

PersistenceRepository<T>                         # write + internal read (composition)
  ├── GenericRepository<T>                       # + full query builders + BWOQ
  └── GenericBwoqRepository<T>                   # + BWOQ only (via internal GenericRepository)

Anforderungen

  • netstandard2.1
  • Keine externen Abhängigkeiten.

Tests und Abdeckung

line coverage tests

Die Assembly Rochas.Data.Specification enthält 32 Unit-Tests (xUnit) mit 100% Zeilenabdeckung und 100% Zweigabdeckung, gemessen mit coverlet (cobertura):

dotnet test Rochas.Data.Specification.Test/Rochas.Data.Specification.Test.csproj \
  --collect:"XPlat Code Coverage" \
  --settings Rochas.Data.Specification.Test/coverage.runsettings
Bereich Abgedeckte Zeilen Abdeckung
Annotations 26 / 26 100%
Models 22 / 22 100%
Enums — (nur Metadaten) n/a
Interfaces — (nur Metadaten) n/a
Gesamt 48 / 48 100%

Lizenz

GPL v2 — siehe GNUv2_License.txt.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Rochas.Data.Specification:

Package Downloads
Rochas.DapperRepository

A lightweight generic entities cacheable repository using Dapper

Rochas.BWOQ

Rochas BWOQ - BitWise Object Query for compact query composition

Rochas.SqlWrapper

Rochas SqlWrapper - SQL statement translation layer (multi-dialect) shared by BWOQ and DapperRepository

Rochas.CacheIndexer

In-memory lexical cache indexer with optional PT-BR stemming (Porter), phonetic (Soundex PT-BR), synonym dictionary expansion and pluggable cache providers (in-memory, distributed Redis/Garnet, composite, persistence channel). Includes a Background Service worker (PersistenceChannelWorker<T>) + DataDispatcher<T> for automatic replication to a DB via IPersistenceRepository<T>.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.3 160 8/15/2026

v1.6.3 - Contract orchestrator for the Rochas data toolkit. Namespace moved to Rochas.Data.Specification.*. IPersistenceRepository<T> (base persistence contract), IGenericRepository<T> : IPersistenceRepository<T>, IGenericBwoqRepository<T> and IBwoqQueryBuilder<T> exposing the BWOQ grammar (Q/W/G/O/OD). ICacheProvider and [Cacheable]/[Indexable] annotations (IndexSection Title/Body). Replaces Rochas.DapperRepository.Specification (1.5.2).