MySqlDB_dotNET 1.0.1
See the version list below for details.
dotnet add package MySqlDB_dotNET --version 1.0.1
NuGet\Install-Package MySqlDB_dotNET -Version 1.0.1
<PackageReference Include="MySqlDB_dotNET" Version="1.0.1" />
paket add MySqlDB_dotNET --version 1.0.1
#r "nuget: MySqlDB_dotNET, 1.0.1"
// Install MySqlDB_dotNET as a Cake Addin #addin nuget:?package=MySqlDB_dotNET&version=1.0.1 // Install MySqlDB_dotNET as a Cake Tool #tool nuget:?package=MySqlDB_dotNET&version=1.0.1
The MySqlDB_dotNET Class Library is a high level wrapper around the MySql.
Example: using MySqlDB;
string server = "localhost"; string database = "mydb"; string username = "root"; string password = "toor";
string connectionString = @"Data Source=" + server + "; Database=" + database + "; User ID=" + username + "; Password=" + password + ";"; DBConnection db_conn = new DBConnection(connectionString);
Console.WriteLine("isConnected: " + db_conn.isConnected()); if (db_conn == null || !db_conn.isConnected()) { Console.WriteLine("Connessione non valida."); return; }
string sql = "SELECT ID, Message FROM Logs ORDER BY IDLic;"; DataTable dtLogs = db_conn.SelectTable(sql);
if (dtLogs == null || dtLogs.Rows.Count == 0) return;
// Loop with the foreach keyword. foreach (DataRow dr in dtLogs.Rows) { Console.WriteLine("Message: " + dr["Message"].ToString().Trim()); }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- MySql.Data (>= 8.0.16)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Extensions on the MySqlDB .NetFramework.