Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

EricksonLopez.Specification Overview

EricksonLopez.Specification (2.0.0 on NuGet, L1) separates pure domain predicates (Specification<T>) from application query descriptors (QuerySpec<T>) and translates expression trees directly into parameterized SQL across 6 database dialects or LINQ / MongoDB providers.

  • Full AOT (13, net8.0;net9.0;net10.0): Specification, Specification.Abstractions, Specification.Linq, Specification.EntityFrameworkCore, Specification.Result, Specification.Sql, Specification.PostgreSql, MsSql, MySql, MariaDb, Sqlite, Oracle, MongoDB.
  • Incompatible (2): Specification.Dapper, Specification.DapperExtensions (IsAotCompatible=false, EnableTrimAnalyzer=true).
  • Roslyn (2, netstandard2.0): Specification.Analyzers (SPEC001–SPEC011), Specification.Generators (SPEC100).

Measured across 16 rows (0 na_error) on .NET 10.0.12 X64 RyuJIT (Intel Xeon Platinum 8370C 2.80GHz):

  • SpecificationEvaluationBenchmarks.IsSatisfiedBy (interpreted ExpressionInterpreter, AOT-safe): 97.80 ns / 96 B
  • SpecificationEvaluationBenchmarks.IsSatisfiedBy (compiled cache): 149.81 ns / 48 B
  • ExpressionCompositionBenchmarks.ExpressionComposer.And: 252.7 ns / 448 B
  • SqlTranslationBenchmarks (Simple spec → SQL): 406.1 ns / 1,260 B; (Complex spec → SQL): 2,402.6 ns / 4,188 B