igor-tkachev / bltoolkit

Business Logic Toolkit for .NET
MIT License
296 stars 112 forks source link

Npgsql 3.1.9 #392

Open yallie opened 7 years ago

yallie commented 7 years ago

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? :)

ili commented 7 years ago

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.

yallie commented 7 years ago

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.

ili commented 7 years ago

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 =\