Changelog
What changed in Socigy.OpenSource.DB — the database-context bulk insert + projecting ForEachAsync (0.3.1) on top of 0.3.0's field encryption, rotating credentials, and HashiCorp Vault package.
5 June 2026
Socigy.OpenSource.DBv0.3.1stable
Added
InsertMultipleAsyncon the database context.I{Table}Setnow exposesInsertMultipleAsync(entities, includeAutoFields, ct), batching a whole collection into multi-rowINSERTs within the unit-of-work scope.- Auto-field control on context inserts.
InsertAsyncandInsertMultipleAsynctakeincludeAutoFields(defaultfalse); passtrueto also write auto-increment columns (supply your own values) — the context equivalent ofWithAllFields(). Backed by a newGetInsertPlan(bool includeAutoIncrement). ForEachAsync<TResult>projection. Streams matching rows, projects each through the callback, and returns the results (materialized inside the scope), so you can transform rows without a lazy enumerable escaping the connection.
Fixed
- CI now builds, packs, and publishes the optional
Socigy.OpenSource.DB.HashiCorppackage independently of the main package (each is version-checked separately, so a re-run still ships one when the other is already published).