> Do you mean a multilayer solution?.
>
> However for that is as well AFAIK the best solution, don't use LINQ. This
> because Linq is an expression language meant to get fast extractions from
> data and submit the changes to the database in a simple way.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
>> However for that is as well AFAIK the best solution, don't use LINQ. This
>> because Linq is an expression language meant to get fast extractions from
>> data and submit the changes to the database in a simple way.
>
> 1) LINQ isn't just meant for databases
Did I write that?
> 2) I don't see how your description of LINQ (to SQL) in any way makes
> it unsuitable for multilayer solutions
Did I say so, I thought that the general opinion was that it is not the
"best" practise for multilayer solutions.
Cor
Jon Skeet [C# MVP] - 18 Mar 2008 11:25 GMT
> >> However for that is as well AFAIK the best solution, don't use LINQ. This
> >> because Linq is an expression language meant to get fast extractions from
[quoted text clipped - 3 lines]
>
> Did I write that?
Read what you wrote - there's no real need to mention databases at all
in my view. Your statement is biased towards databases when I'd just
say that LINQ is a set of technologies to ease data access, whatever
the data source.
> > 2) I don't see how your description of LINQ (to SQL) in any way makes
> > it unsuitable for multilayer solutions
>
> Did I say so
You said that if you want the best solution, don't use LINQ. That
sounds like you feel it's unsuitable.
> I thought that the general opinion was that it is not the
> "best" practise for multilayer solutions.
I don't think so. You may not use it in all layers (although LINQ to
Objects is almost always useful, IMO) but there's nothing wrong with
using LINQ in multi-layer solutions. You still need to solve a lot of
the same problems as before in terms of concurrent updates etc, but
LINQ will help in various ways.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Andy - 18 Mar 2008 13:39 GMT
On Mar 18, 6:05 am, "Cor Ligthert [MVP]" <notmyfirstn...@planet.nl>
wrote:
> Did I say so, I thought that the general opinion was that it is not the
> "best" practise for multilayer solutions.
No, that would be the opposite of the general opinion.