Query and manipulate data by using the Entity Framework - LINQ to Entities

Querying data using LINQ operators

You can use the var keyword, but an exam question might call it out with either IQueryable or IEnumerable. Note, however, that this doesn’t mean one or the other is being used; both support either/both interface types.