appendix A A brief introduction to LINQ

This appendix covers

  • An introduction to the LINQ language
  • Data manipulation commands in LINQ
  • An introduction to the IQueryable<T> .NET type
  • How EF Core translates LINQ to database commands
  • The three parts of an EF Core LINQ query

This appendix is for anyone who is new to Microsoft’s Language Integrated Query, or LINQ, feature or anyone who wants a quick recap on how LINQ works. The LINQ language bridges the gap between the world of objects and the world of data, and is used by EF Core to build database queries. Understanding the LINQ language is key to using EF Core to access a database.

This appendix starts with the two syntaxes you can use to write LINQ code. You’ll also learn the types of commands ...

Get Entity Framework Core in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.