Describes the .NET Core providers available for use with SQL.
The SQL ADO runtime package already includes support for the SQL Server .NET Core provider by virtue of a dependency, which is the System.Data.SqlClient package.
For other ADO providers, the following table shows the .NET Core providers that Micro Focus has tested with and their corresponding NuGet packages:
Database | NuGet Package |
---|---|
IBM DB2 |
IBM.Data.DB2.Core
IBM provides separate provider packages for Windows and Linux: IBM.Data.DB2.Core for Windows and IBM.Data.DB2.Core-lnx for Linux. |
MySQL | MySql.Data |
Oracle | Oracle.ManagedDataAccess.Core |
PostgreSQL | Npgsql |
SQL Server |
System.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.