Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# MySQL Connector [closed]

Tags:

c#

mysql

Should I build my own wrapper class for MySQL or should I use download one of the installable MySQL addins for Visual Studio to help?

My App is pretty simple, but I'm also new to C#.

like image 762
muncherelli Avatar asked Jan 22 '23 15:01

muncherelli


1 Answers

MySQL provides .NET conector for C#. See this!

You can use it in very simple projects. Here is an example of using it with ADO.NET with ODBC driver and here how to use it directly.

For more complex projects I strongly suggest to use some OR mappers that supports MySQL like SubSonic or BLToolkit.

like image 58
Łukasz W. Avatar answered Jan 30 '23 07:01

Łukasz W.