Sharing ADO.NET database connections

For sharing ADO.NET database connections in Connecting to Your Database between PowerBuilder and C#, the dependency files of the database have changed.

  • SQL Server: Microsoft.Data.SqlClient NuGet package

  • Oracle: Oracle.ManagedDataAccess NuGet package

  • ODBC: System.Data.Odbc NuGet package

Sybase.PowerBuilder.DataSource.Sharing.dll is upgraded and renamed as Appeon.DB.Sharing.dll.

And due to the .NET 6 upgrade, you will have to use the LoadWithDotNet method instead of LoadWithDotNetframework or LoadWithDotNetCore, to load the C# assembly.