c# - Is there a way to use LINQ query syntax with .NET 3.0 projects? -
I have a project that can only be deployed on a server running on the net. I want to use LINQ to simplify some strict rational logic very strictly. Is this an easy way to accomplish this? I will compromise for any syntax
Thank you very much
Since .0.0 All Run 2.0 on 3.5 CLR, all LINQ content is just a bunch of libraries. If you include DLLs on your version of the framework, then it will work fine.
As Patrick says, there are main 3.5 DLL systems. Core.Del (which provides system LINQ) and System.Data.Linq.dll (Linq-to-SQL).
If you do this, then I think that you need System.dll at least. NET 2.0SP1 I believe.
P> LINQBridge, as quoted by Mark, works by re-implementing the functionality, but I believe only for Linq-to-Objects.
Another option is to run these DLLs (System.Core.dll and System Data. Linux.dll) mono project. They have all implemented LINQ again, Linq-to-Sql content is probably slightly immature but it has the merit of working with other databases compared to MSSQL.
This eliminates any question regarding the validity of distribution of Microsoft Dell with your application.
Comments
Post a Comment