title: Call a DTO translator inside IQueryable's Select
body: <p>I have the following code to query an EntityContext (through a repository) and map it unto a DTO:</p>
  
  <pre><code>public class QueryQuestionsConsumer : IConsumerOf&lt;QueryQuestionsRequest&gt;
  {
      public void Consume(QueryQuestionsRequest request)
      {
          var repo = IoC.Resolve&lt;IUnitOfWork&gt;().CreateRepository&lt;Question&gt;();
          var filter = FilterTranslator.CreateFilterExpression&lt;Question&gt;(request.Filters);
          var questions = repo
              .GetAll()
              .Where(filter)
  
          Result = questions.Select(question =&gt; QuestionTranslator.ToDTO(question)).ToArray()
      }
  
  }
  </code></pre>
  
  <p>This would obviously fail because ToDTO() isn't a recognized function in EntityFramework provider. I could create a DTO object using an object initializer but I'd like to delegate it to another class (QuestionTranslator).</p>
  
  <p>What do you do in this case?</p>
  
  <p><strong>UPDATED:</strong>
  Additionally, I don't want to hydrate a full Question Object to do that. I'd like to count on Provider's ability to create DTO objects.</p>