Difference between IEnumerable vs. IQueryable
I was working in a .Net shop helping a medical insurance company rewrite their “legacy” system from the database all the way to the front end web site. The database was SQL Servier. The project manager was set on Entity Framework, IIS, and Web API. IEnumerable and IQueryable are both interfaces in C# that expose an enumerator and allow for iteration over a collection of objects. It is extremely important that the programmer know the difference between IEnumerable and IQueryable…