views:

151

answers:

3

Possible Duplicate:
LINQ to MySQL - what is the best option?

I've been looking this up on Google for hours, but I haven't found anything conclusive. So far, I've seen a few paid options, an option with NHibernate, but most are marked as unstable or in production.

Is there a stable implementation of LINQ for MySQL?

+4  A: 

LINQ to SQL supports only Microsoft SQL Server. You could use ADO.NET Entity Framework with MySQL. Here's a tutorial.

Darin Dimitrov
I've been looking at that, but will that offer the same LINQ features LINQ to SQL provides? (deferred execution, LINQ converted to SQL)
Arda Xi
Yes it provides those features.
Darin Dimitrov
+2  A: 

You can try DbLinq. They support MySQL (and Oracle and PostgreSQL).

Mark Byers
+1  A: 

We use Devart dotConnect for Oracle for LINQ-to-Oracle and have been very pleased.

They make an equivalent LINQ-to-MySQL provider as well, I'd definitely give it a look.

Nick Craver
I've seen that one, but I'd rather not pay for it.
Arda Xi
@Adra - There are multiple levels, [including a free version](http://www.devart.com/dotconnect/mysql/editions.html) but you should really specify "free only" in your question if that's the case, comparatively the Devart stuff is *really* cheap.
Nick Craver
+1 for the Devart Oracle drivers. If the MySQL ones are of similar quality than this is definitely the direction to go in.
jkohlhepp
I thought I did specify free only by stating 'paid options' as something I didn't like, but I'll try to be more clear in the future.
Arda Xi
@Arda - Thanks for making it clearer in the future, just a matter of perspective I suppose. In case it helps at all, the way I read/construed your current question is: "I would consider a paid option in the absence of a suitable free option"
Nick Craver