MySqlDB_dotNET 1.0.1

The MySqlDB_dotNET Class Library is a high level wrapper around the MySql.

The library is currently compiled at .Net 4.5.2 so it should work with any application running .Net 4.5.2 and above.

Install-Package MySqlDB_dotNET -Version 1.0.1
dotnet add package MySqlDB_dotNET --version 1.0.1
<PackageReference Include="MySqlDB_dotNET" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MySqlDB_dotNET --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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());
}

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());
}

Release Notes

Extensions on the MySqlDB .NetFramework.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 100 6/2/2019