title: Why use AsQueryable() instead of List()?
body: <p>I'm getting into using the Repository Pattern for data access with the <a href="http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework" rel="noreferrer">Entity Framework</a> and <a href="http://en.wikipedia.org/wiki/Language_Integrated_Query" rel="noreferrer">LINQ</a> as the underpinning of implementation of the non-Test Repository. Most samples I see return AsQueryable() when the call returns N records instead of List&lt;T>. What is the advantage of doing this?</p>