We use Caché 2015 with the CacheProvider. 
We connect with a CacheConnection Object to the Database and use the Method GenSourceFile to generate C# Classes from the Caché Classes. We then compile this c# Code into a DLL and use it together with the InterSystems.Data.CacheClient.dll for working with the Caché Objects in C#. Eventhought the DLL is compiled with .net 4.5 it works great together with .net core 3.2 ASP.NET.  But we only use it on windows plattforms. So maybe not working on linux?!