cancel
Showing results for 
Search instead for 
Did you mean: 

Access SQL Anywhere from .NET Core 3.1

dhkom
Participant
2,353

What is the preferred way to access SQL Anywhere from a .NET Core 3.1 application?

Last December (2019) the question https://sqlanywhere-forum.sap.com/questions/34551/planned-net-core-support-again produced a statement from SAP, "there are no plans to add .NET Core support to SQL Anywhere clients at this time."

We would like to write a REST .NET web service in C# .NET Core 3.1, accessing a SQL Anywhere 16 or 17 database.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

We use ODBC. First get a SQL Anywhere ODBC connection working. Then in your Core project install the nuget package System.Data.Odbc. You can then use OdbcConnection etc to access your data.

dhkom
Participant
0 Kudos

Thanks. And it looks like connection pooling is supported, which is important.