title: Unit of work sql query performance degraded
body: <p>I'm having a performance problem when using Unit of Work to do queries.</p>
  
  <p>When I'm using DbContext directly I make a linq query something like this:</p>
  
  <p><code>var result = from x in ctx.client
                 select new { Name= x.name };</code></p>
  
  <p>When I'm using Unit I make the following code:</p>
  
  <p><code>var result = from x in uow.GetClientRepository.GetAll()
                 select new { Name = x.name };</code></p>
  
  <p>What generates a SQL query type:</p>
  
  <p><code>Select * from Client</code></p>
  
  <p>The above code would generate a SQL query of type:</p>
  
  <p><code>Select name from Client</code></p>