title: Converting IQueryable<T> object to another object?
body: <p>I have no idea what the keywords are so here is an example of what I want:</p>
  
  <pre><code>return from i in userRepo.GetUsers()
    select new SimpleUser{
          i.UserId,
          i.Name
    };
  </code></pre>
  
  <p><code>userRepo.GetUsers()</code> returns type <code>IQueryable&lt;User&gt;</code>. I'd like to convert this to <code>IQueryable&lt;SimpleUser&gt;</code> to I can restrict access to certain properties of the <code>User</code> domain.</p>
  
  <p>How do I do this without hard coding the translation like this? What about tools like automapper or ValueInjecter, how can they do this?</p>
  
  <p>Also, what is this technique called?</p>