connector c# - Non-GPL ADO.NET provider for MySQL?

2 Answers

There is DevArt's ADO.NET provider for MySQL

dotnet github core

Is there any NON-GPL ADO.NET provider for MySQL ?

There is the official one from here
but unfortunately, it's under the GPL, not the LGPL.

I am developing an abstract class for database access.
I don't care whether the abstraction layer is going to be GPL,
but if it uses MySQL (I mean the MySQL ADO.NET provider, not the MySQL database itselfs) it will be GPL, and thus, any application that uses that layer, which is something I don't want...

Oh, and I know about nHibernate/Subsonic/otherORMs, but it doesn't fit my needs.

ADO.NET provider short of using ODBC of course.

Note that by "abstract class for database access", I don't mean write my own universal ADO.NET provider. I mean writing a wrapper class around a set of already existing ADO.NET providers.

Using GPL v2 DLL in application

I found an interesting post on this:

Does the use of GPL'ed DLLs from the GnuWin32 project in your program need you to release your program under GPL too?

There seem to be two different strands of opinion. The FSF holds that dynamic linking creates a derivative work, and so any program designed to run with a GPL-ed DLL, must be GPL itself; see The only exception they make is for DLL's that come with the compiler and the kernel, such as the MS VC run-time DLL's; see On the other hand some OpenSource lawyers hold that dynamically linking does not make your program GPL. See and the discussion in There is no doubt that programs that link dynamically to DLL's from libraries with the LGPL or with the GPL with special provisions, are GPL free if you decide so.