Hello Marc,
thanks for your information. Actually I am using VS2008, but I have a
Classlibrary-Project in use, some one would like to add to his project too.
Unfortunatelly he is still using VS2005 and his "Boss" is - momentarely -
not willing to upgrade to VS2008 :-(
Well I guess if he wants to make use of my library source code, he will have
to extract the code needed and build a library for his own.
Luckily he needs no modules, using LINQ.
Thanks
Rainer Queck
Marc Gravell said:
If possible (I haven't tried) it would be extremely tricky; in
particular, to write "where" clauses on IQueryable<T> etc requires the
construction of an "Expression"; this is not something I would want to
have to do routinely, especially for non-trivial queries. The lack of
anon-types would be irritating but not insurmountable.
If you just mean LINQ-to-objects you might *just* be able to get it
working with anon methods instead of using lambdas for the predicates/
selectors, but you'd need to use the long syntax to the extension
methods *and* you'd need to write backwards:
select(orderby(where(from))) [but much longer].
Basically, I wouldn't try it. I strongly suggest using 2008; the
express edition may do most of what you want? Note that in either case
you will want to reference the .NET 3.5 assemblies; you can't avoid
this necessity.
Marc