6

I've been looking around for a definitive answer as to how to use LINQ to SQL with mySQL but can't seem to come up with anything. Does anyone have any experience / suggestions using the two together? In particular, I would like to avoid using string SQL statements.

Cheers

1

2 Answers 2

4

MySQL isn't directly supported by Microsoft's LINQ to SQL provider, but there are several alternative ways you can use LINQ against MySQL. Take a look at using LINQ to nHibernate, or see here for LINQ providers against non-Microsoft databases.

Sign up to request clarification or add additional context in comments.

Comments

0

Now (as of 2015) you can use the Connector/NET provided by MySQL.

http://dev.mysql.com/doc/connector-net/en/connector-net-tutorials.html

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.