Ways to access MySQL from C # / WPF

I am new to WPF and C # and I would like to know the best way to access MySQL.

Population a bit I've seen there Linq provider for MySQL. Is this the best way? http://code2code.net/DB_Linq/

I've never used Linq before, so I'll start today in case someone doesn't know a better way to do this.

Thanks in advance

0


a source to share


3 answers


You must use the official MySQL ADO.NET provider . Version 6.0 introduces basic Entity Framework support



+3


a source


It depends! If I was coaching someone who was just starting out, I wouldn't run them on LINQ. You said that you are just getting started with C #, but perhaps you have depth in other environments, especially with databases, and perhaps you are familiar with ORM. IF this is true, then dive into LINQ first anyway. If not, then I would suggest using ADO.NET for database access in your first projects - it's easier to start with what is foundational to other alternatives.



+1


a source


Why not use NHibernate ?

/ Broken record.

0


a source







All Articles