This might help anyone trying to code an asp.net core web application connecting to Informix database.
Upgrade the Informix.Net.Core package to the latest available in Nuget Package Manager.