build(sql): pin Npgsql + Oracle.ManagedDataAccess.Core (managed providers only)

This commit is contained in:
Joseph Doherty
2026-08-05 06:12:53 -04:00
parent ab54fb013a
commit d1572a2b29
2 changed files with 17 additions and 1 deletions
@@ -21,8 +21,13 @@
<!-- The reason this project exists rather than the dialect living in .Contracts: ISqlDialect
exposes DbProviderFactory and SqlServerDialect returns SqlClientFactory.Instance, so the
provider package is unavoidable here. .Contracts is deliberately provider-free. This is
the same shape as Driver.Mqtt.Transport, whose BuildClientOptions returns an MQTTnet type. -->
the same shape as Driver.Mqtt.Transport, whose BuildClientOptions returns an MQTTnet type.
PostgresDialect and OracleDialect land here for the same reason, each returning its
provider's DbProviderFactory (NpgsqlFactory / OracleClientFactory); both packages are fully
managed ADO.NET drivers, so adding them costs no native client install anywhere. -->
<PackageReference Include="Microsoft.Data.SqlClient" />
<PackageReference Include="Npgsql" />
<PackageReference Include="Oracle.ManagedDataAccess.Core" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="ZB.MOM.WW.OtOpcUa.Driver.Sql.Tests"/>