As seen here, several types are removed in npgsql 7: npgsql/npgsql#4020
Currently, NpgsqlProviderAdapter has hardcoded dependencies on these types and throws an exception if they're not found in the Npgsql assembly.
npgsql 7 is still in preview, but I'm wondering if there's any way to get around this issue in the mean time. I have been looking through the source code, but everything seems to be relying on hardcoded/static/internal classes with no apparent ways to extend or modify the functionality short of copying and pasting massive amounts of code (or just forking the repo).
As seen here, several types are removed in npgsql 7: npgsql/npgsql#4020
Currently,
NpgsqlProviderAdapterhas hardcoded dependencies on these types and throws an exception if they're not found in theNpgsqlassembly.npgsql 7 is still in preview, but I'm wondering if there's any way to get around this issue in the mean time. I have been looking through the source code, but everything seems to be relying on hardcoded/static/internal classes with no apparent ways to extend or modify the functionality short of copying and pasting massive amounts of code (or just forking the repo).