Lessons Learnt: Migrating From Net Framework to Net Core - Changing SQLite Providers

added by DotNetKicks
5/10/2019 1:14:09 PM

1 Kicks, 160 Views

I mentioned back in the first post how we swapped SQLite providers during our port from .Net Framework to .Net Standard and .Net Core. Previously we used System.Data.SQLite and we now use Microsoft.Data.SQLite. In order to support some older .Net 4.5 projects we use multi targetting and some #ifdefs to swap the providers without any real knowledge to the calling applications.