title: Map stored procedure results to a custom complex type in Entity Framework
body: <p>Consider a stored procedure <code>GetEmployees</code> which has a <code>SELECT</code> statement like</p>
  
  <pre><code>SELECT EMP_ID, EMP_NAME, EMP_EMAIL 
  FROM EMPLOYEE
  </code></pre>
  
  <p>This stored procedure will have its results mapped to a complex type <code>GetEmployees_Result</code></p>
  
  <pre><code>class GetEmployees_Result {
     public int EMP_ID;
     public string EMP_NAME;
     public string EMP_EMAIL;
  }
  </code></pre>
  
  <p>Is it possible to map the result of the function import to a different complex type like the one below:</p>
  
  <pre><code>class GetEmployeesResult {
    public int Id;
    public string Name;
    public string Email;
  }
  </code></pre>