title: Proper implementation of Repository Pattern using IQueryables?
body: <p>I'm building a Repository layer for my MVC application with methods like GetObject, UpdateObject, DeleteObject, etc.  </p>
  
  <p>This is what I have now:</p>
  
  <pre><code>        public List&lt;Object&gt; GetObjects()
          {
              return _db.Objects.Where(o =&gt; o.IsArchived == false).ToList();
          } 
  </code></pre>
  
  <p>But I'm wondering if it would be better to return IQueryables for lists so that the least amount of data gets sent to the client when filters are applied in the UoW or Service layers.  Would it be best to do something like this? </p>
  
  <pre><code>            public IQueryable&lt;Object&gt; GetObjects()
              {
                  return _db.Objects.Where(o =&gt; o.IsArchived == false);
              } 
  </code></pre>