C#的MySQL Connector [英] C# MySQL Connector

查看:281
本文介绍了C#的MySQL Connector的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该建立自己的包装类MySQL或我应该使用下载安装MySQL的加载项之一的Visual Studio帮助?

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?

我的应用程序是非常简单的,但我也有新的为C#。

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

推荐答案

MySQL提供.NET连接器高为C#。

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

您可以非常简单的项目中使用。 这里是用它与ODBC驱动程序和ADO.NET的此处如何直接使用它。

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.

有关更复杂的项目,我强烈建议使用一些OR映射器,支持MySQL的如亚音速或的BLToolkit

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

这篇关于C#的MySQL Connector的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆