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

Summary

In this chapter, we have learned new features related to LINQ including the new data type, var, object and collection initializers, extension methods, lambda expressions, LINQ syntax, and query expressions. Now that we have the required knowledge for LINQ, we are ready to try LINQ to Entities, which will be discussed in the next chapters.

The key points covered in this chapter include:

  • The new data type, var, gives extra flexibility when defining new variables
  • The Automatic Property feature can be used to define simple properties
  • Initial values can be assigned to a new object and collection variables by using Object initializer and Collection initializer
  • Actual types will be created for anonymous types at compile time
  • Extension methods can be ...

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