Configuration & Integrations — DistributedLock
L2StableNuGet: v1.0.0Local HEAD: v2.1.0AOT: Full
All dialect DI registration extensions declare namespace Microsoft.Extensions.DependencyInjection;, while transaction-bound lock helpers reside in EricksonLopez.DistributedLock.<Dialect>.
| Package | DI Extension (Microsoft.Extensions.DependencyInjection) |
Transaction Lock Namespace |
|---|---|---|
PostgreSql |
AddPostgresDistributedLock(...) |
EricksonLopez.DistributedLock.PostgreSql |
SqlServer |
AddSqlServerDistributedLock(...) |
EricksonLopez.DistributedLock.SqlServer |
MySql |
AddMySqlDistributedLock(...) |
EricksonLopez.DistributedLock.MySql |
MariaDb |
AddMariaDbDistributedLock(...) |
EricksonLopez.DistributedLock.MariaDb |
Oracle |
AddOracleDistributedLock(...) |
EricksonLopez.DistributedLock.Oracle |
Sqlite |
AddSqliteDistributedLock(...) |
EricksonLopez.DistributedLock.Sqlite |
Redis |
AddRedisDistributedLock(...) |
EricksonLopez.DistributedLock.Redis |
Always register logging (services.AddLogging()) alongside provider registration when building standalone ServiceCollection containers.