dotConnect for MySQL (former MyDirect.NET and Core Labs MySQLDirect.NET)

This .NET Framework Class Library is provided by Devart.
The class library is contained in the file Devart.Data.MySql.dll.
Coding
Add a reference to the assembly Devart.Data.MySql and include the Devart.Data.MySql namespace. Instantiate a new MySqlConnection connection object. Set the connection string and open the connection.


VB.NET code sample
Imports Devart.Data.MySql
Dim myConnection As MySqlConnection = New MySqlConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()


C# code sample
using Devart.Data.MySql;
MySqlConnection myConnection = new MySqlConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();


Description
Direct access to MySQL server through 100% managed code. Note that you also have to reference Devart.Data.dll (not only Devart.Data.MySql.dll).
More info about this class library can be found at the Devart product page.
Download
.NET Framework Class Library (dotConnect for MySQL (former MyDirect.NET and Core Labs MySQLDirect.NET)) can be downloaded here.
Connection Strings
The dotConnect for MySQL (former MyDirect.NET and Core Labs MySQLDirect.NET) class library can be used to connect to the following data sources:

MySQL
To see available connection options, navigate connection strings reference by the above data source links.
Additional info or comments on this class library? Want to submit content?

Popular

Copyright © 2013 30c.org   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.