What is the use of IQueryable in the context of LINQ? Is it used for developing extension methods or any other purpose? 4 Answers 4
  • May 19, 2022
  • 0 Comments
I found an example in the VS2008 Examples for Dynamic LINQ that allows you to use a SQL-like string (e.g. OrderBy("Name, Age DESC")) for ordering. Unfortunately, the method included...
  • April 26, 2022
  • 0 Comments
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be preferred over the other? IQueryable<Customer> custs = from c in db.Customers where c.City == "<City>" select...
  • April 14, 2022
  • 0 Comments