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. asked 19 Oct '20, 11:04 dharrel |
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. answered 20 Oct '20, 07:33 beater Thanks. And it looks like connection pooling is supported, which is important.
(20 Oct '20, 08:43)
dharrel
|