From the course: .NET Essentials: Working with LINQ

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Review query expression clauses

Review query expression clauses - .NET Tutorial

From the course: .NET Essentials: Working with LINQ

Review query expression clauses

- [Instructor] In this video, we will look at how to use the query expression syntax to write a link query against a dataset. In this video, I'll focus on what are called clauses. These are special words that are used in the query expression that represent either an extension method or some other necessary item for a query expression. I think the first thing we should look at is talk about what a query expression is. This is a special syntax created by Microsoft, so that C Sharp developers and Visual Basic developers who are writing LINQ queries can use a syntax that is similar to one that they would use when they're querying a relational database. For those of us that have worked with relational databases, you know that we work with structured query language, also known as SQL. So here's the thing. The query expression syntax that Microsoft created looks like SQL. It is a substitute for calling the real extension methods…

Contents