title: How to map result from stored procedure to object
body: <p>I'm using EF for fetching data from stored procedure in MS SQL. Stored procedure is returning table. (columns have same names as properties in my object)</p>
  
  <pre><code>List&lt;MyObject&gt; result = 
                db.ExecuteStoreQuery&lt;MyObject&gt;("EXEC [dbo].myProcedure]").ToList();
  </code></pre>
  
  <p>Is there a way how to do this without Entity Framework? (with SqlCommand)</p>
  
  <p>Thanks.</p>