So IQueryable allows your queries to be executed at the database level rather than on an in-memory object collection like IEnumerable. If I have an IEnumerable and I call the AsQueryable() extension method on it, does that mean that it is now an IQueryable and all calls will be executed in the database? Or is the IEnumerable already loaded into memory?
I know IEnumerable has deffered execution so does that mean calling AsQueryable before iterating the collection will make all it's queries execute in the database?
Sorry, I'm new to this it is all very confusing.
PS - I'm using LINQ to Entities with EF 4.0.