O'Reilly logo

WCF 4.0 Multi-tier Services Development with LINQ to Entities by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Built-in LINQ operators

As we have seen in previous sections, there are no semantic differences between method syntax and query syntax. In addition, some queries such as those that retrieve the number of elements matching a specified condition or those that retrieve the element that has the maximum value in a source sequence, can be expressed only as method calls. These kinds of methods are sometimes referred to as .NET Standard Query Operators and include Take, ToList , FirstOrDefault , and Max and Min .

In addition to those methods that can only be expressed as method calls, all the extension methods that can be used in either query syntax or method syntax are also defined as standard query operators such as select, where, and from. So the .NET ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required