DbProviderFactories

Hello, Unity Community, I have a problem with integrating MySql Connector .Net into my game. This line should work, however it gives me “BCE0005: Unknown identifier: ‘DbProviderFactories’.” error. Dont know what to do. Here, the link to this function on msdn : DbProviderFactories.GetFactory Method (String)
I have imported System.Data.Common, if this line does not say, why I’m getting the error, I will post whole script.

var fac : DbProviderFactory = DbProviderFactories.GetFactory("MySql.Data.MySqlClient");

Thanks in advice,
Sangi93

Nevermind, changed API compatibility level to .NET 2.0

I tried changing to API compatibility level .Net 2.0 but, on Android, using System.Data doesn’t work…

any advice, please?