Will Linq work against any database (i.e) MySQL,Sybase,Oracle,DB2?
+4
A:
It depends what you mean by "LINQ".
LINQ to SQL will only work against SQL Server and SQL CE (or whatever it's called these days).
I believe that the Entity Framework (LINQ to Entities) will work with any database supported by ADO.NET... but I think that vendors can give more specific support which would no doubt mean better performance and quite possibly a wider range of translatable queries.
Then there are efforts like LINQ to NHibernate which again will work with any ADO.NET-compatible database.
Jon Skeet
2009-12-14 07:38:59
And there's always rolling your own set of extension methods...
RCIX
2009-12-14 07:41:57