On Sep 1, 2:48*pm, Hans Kesting <news.han...@spamgourmet.comwrote:
ck1 presented the following explanation :
Hi at all - I want to know if there are diffirence with
Liqn to SQL and Linq To entity performance.
I have read many article on the web that say that Linq To Entity
is more fast than Linq To Sql.
What is your experience about that ?
I don't have any experience yet, but it doesn't surprise me: Linq to
SQL calls the database, which is much slower than in-memory calls
(which Linq to objects does).
Note that the OP is talking about LINQ to Entities, aka the Entity
Framework - much more directly comparable to LINQ to SQL than LINQ to
Objects is.
Personally I think the difference between LINQ to SQL and the EF is
likely to very much depend on exactly what you're doing. A general
statement is likely to be wrong for a great number of situations.
Jon