Describes the .NET providers available for use with SQL.
The following table shows the .NET providers that Micro Focus has tested with and their corresponding NuGet packages:
Database | NuGet Package |
---|---|
IBM DB2 |
Net.IBM.Data.DB2
IBM provides separate provider packages for Windows and Linux: Net.IBM.Data.Db2 for Windows and Net.IBM.Data.Db2-lnx for Linux. |
MySQL | MySql.Data |
Oracle | Oracle.ManagedDataAccess |
PostgreSQL | Npgsql |
SQL Server |
Microsoft.Data.SqlClient
This is already included as part of the MicroFocus.COBOL.SqlCLR.Runtime package via a dependency. |
When using either the ODBC MicroFocus.COBOL.SQLODBC32.Runtime package or the ODBC MicroFocus.COBOL.SQLODBC64.Runtime package with the SQL(DBMAN=ODBC) directive, you can use any type of connect statement.