DbaClientX is a lightweight, multi‑provider database client for .NET and PowerShell. It offers:
- Providers: SQL Server, PostgreSQL, MySQL, SQLite, Oracle
- Sync/async APIs with cancellation, retries, and transactions
- A small SQL query builder with dialect support and parameterization
- PowerShell cmdlets for quick scripting
DbaClientX.Core– shared base (DatabaseClientBase), retry logic, query builderDbaClientX.SqlServer/PostgreSql/MySql/SQLite/Oracle– providersDbaClientX.PowerShell– PowerShell cmdletsDbaClientX.Tests– xUnit unit testsModule– Pester tests and module build script
dotnet restore DbaClientX.sln
dotnet build DbaClientX.sln -c Release
dotnet test DbaClientX.sln -c Release --framework net8.0
- The solution enables nullable reference types and .NET analyzers via
Directory.Build.props. - SourceLink is enabled for all projects for better debugging into packages.
- SQL Server provider uses
Microsoft.Data.SqlClient.