Will Linq work against any database (i.e) MySQL,Sybase,Or开发者_开发知识库acle,DB2?
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.
LINQ supports only SQL Server.
However there is a LINQ provider for My sql here
Also, check this resource for more info.
精彩评论