From the course: .NET Essentials: LINQ for Databases

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Interfaces: IEnumerable and IQueryable

Interfaces: IEnumerable and IQueryable - .NET Tutorial

From the course: .NET Essentials: LINQ for Databases

Start my 1-month free trial

Interfaces: IEnumerable and IQueryable

- [Instructor] Oh yes, it's time to talk about IQueryable again. I just want to bring home this idea that when you're working with blink to entity framework you're querying against Iqueryable interface. Now this code here is not too different from what I showed you in the last video. So I am working with products, and this time I'm calling "get type on it" and I'm dumping out the names. So I can see that this is a DB set. It's DB set. I already have one that means it's a generic type. And when I do this query using the query expression syntax and I get the type on that, it tells me that's DB query, we've seen that. And also mentioned in the last video that it doesn't matter what you'd use the query expression or you use an extension method you're going to get back at DB query. Yes, that's true. Let me say that here from this information. Now, I just want to point out that we're working with Iqueryable. So if I…

Contents