When using LINQ, you need to be careful to use the right kind of Lambda expression. “What, there is more than one kind?”, I hear you gasp. There sure is! And if you aren’t careful, you’ll get a nice little message at runtime to tell you:
“System.Object DynamicInvoke(System.Object[])’ has no supported translation to SQL.”
What that literally [...]
Lesen Sie den vollständigen Eintrag unter http://richardbushnell.net/index.php/2008/01/16/using-lambda-expressions-with-linq-to-sql/