bltoolkit icon indicating copy to clipboard operation
bltoolkit copied to clipboard

Npgsql 3.1.9

Open yallie opened this issue 9 years ago • 3 comments

PostgreSQL 3.x driver is a major rewrite and it doesn't support .NET 4.0 anymore. It's generally faster and better but it's not 100% compatible with earlier versions. Here's the related discussion about dropping the .NET 4.0 support.

I'm considering the upgrade of the PostgreSQL driver package, but it means that BLToolkit assembly itself should be upgraded to .NET 4.5 in order to use it. Can we go for it?

Anyone here using BLToolkit with PostgreSQL? Any thoughts/comments? :)

yallie avatar Dec 19 '16 22:12 yallie

This is very bad. Because .Net 4 is Windows XP. I think to use new driver new package would be needed, or to do like in linq2db - dynamic types and assemblies resolve.

ili avatar Dec 20 '16 04:12 ili

I believe more and more ADO.NET providers will drop .NET 4.0 support soon, because neither .NET, nor Mono doesn't support it anymore. Perhaps it's the time to add a BLToolkit.45 assembly to support newer drivers.

dynamic types and assemblies resolve

Well, it won't work on XP anyway :)

I think that having a separate BLToolkit.45.csproj targeting .NET 4.5 would need less maintainance than dynamic loading and assembly resolution.

yallie avatar Dec 20 '16 11:12 yallie

Copy & Paste from linq2db :))) i think it is about 2-3 workdays with testing... In other way it would be needed to have plenty of projects..

And all the problems are about Windows XP... MS don't want to support it, but i should =\

ili avatar Dec 20 '16 13:12 ili