Skip to content

Search EricksonLopez.* Ecosystem

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

Configuration & Integrations — SqlBuilder

L3StableNuGet: v2.0.0Local HEAD: v3.0.0AOT: Partial

Configure Roslyn generators, Dapper compiler registration, OpenTelemetry tracing, and pagination integration across the 2.0.0 packages.

When referencing EricksonLopez.SqlBuilder.SourceGenerators or EricksonLopez.SqlBuilder.Analyzers directly via ProjectReference or PackageReference, ensure analyzer metadata is configured (OutputItemType="Analyzer" ReferenceOutputAssembly="false" for project references). NuGet PackageReference sets PrivateAssets="all" automatically.

  • EricksonLopez.SqlBuilder.Dapper (Incompatible AOT): Register the dialect compiler once at startup via DapperExtensions.RegisterCompiler<NpgsqlConnection>(() => new PostgreSqlCompiler()), then call connection.QueryAsync<T>(query), QueryStreamAsync<T>, or QueryAotAsync<T>(query, mapper).
  • EricksonLopez.SqlBuilder.Dapper.Aot (Full AOT): Execute pre-compiled SqlResult commands with AotDapperExtensions.AotQueryAsync(connection, SqlResult, mapper).
  • EricksonLopez.SqlBuilder.Pagination (Full AOT): Use SqlBuilderPaginationExtensions.Paginate<T>(query, parameters) and ApplyCursor<T, TKey>(query, parameters, keySelector, ascending: false) together with ToPagedList<T> / ToCursorPagedList<T, TKey>.
  • EricksonLopez.SqlBuilder.OpenTelemetry (Full AOT): Start query spans via SqlBuilderInstrumentation.StartQueryActivity(ISqlQuery, dbName, compiler) (ActivitySourceName = "EricksonLopez.SqlBuilder").