Skip to content

Search EricksonLopez.* Ecosystem

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

Migration Guides (v1 -> v2) — SqlBuilder

Upgrade guide from published NuGet v1.0.0 to v2.0.0 (BC-001–BC-010), plus visibility into unreleased local 3.0.0.

  1. PostgreSqlDapperExtensions CancellationToken (BC-001): Recompile callers invoking PostgreSQL Dapper extensions after CancellationToken was added to method signatures.
  2. Strict parameter & identifier guards (BC-002, BC-003): ParameterManager.AddNamed rejects duplicate parameter names and strips @/$ prefixes; SqlNamingHelper.ValidateIdentifier enforces strict identifier characters.
  3. Bounds & ordering guards (BC-004, BC-005): Negative Limit/Offset throws ArgumentOutOfRangeException, and OrderByDynamic accepts at most 2 dot-separated segments (table.column).
  4. Query projections & Fetch deprecation (BC-006–BC-010): CompileSelect accumulates multi-projection clauses, InsertQuery<T>.Values throws InvalidOperationException on invalid states, SelectQuery<T>.Fetch is marked [Obsolete] in favor of Limit, validation errors surface as SqlValidationException : SqlBuilderException, and all 16 packages align on 2.0.0.

Local workspace 3.0.0 (CHANGELOG.md [3.0.0] - 2026-11-09, unpublished on NuGet) adds BC-011–BC-017, including PostgreSqlExtensions identifier validation, outer parentheses on compound OR predicates, internalized BulkInsertOperation<T>, and explicit [RequiresDynamicCode] / [RequiresUnreferencedCode] annotations on AotConnectionExtensions ISqlQuery overloads.