title: How to MAP select stored procedure in Entity Framework 6 code-first approach?
body: <p>For example when we write </p>
  
  <pre><code>protected override void OnModelCreating(DbModelBuilder modelBuilder)
  {
      modelBuilder.Entity&lt;tblError&gt;().MapToStoredProcedures();
  }
  </code></pre>
  
  <p>Then it will create 3 stored procedures in the database with the names of
  <code>tblError_Delete</code>, <code>tblError_Insert</code>, <code>tblError_Update</code></p>
  
  <p>My question is about <code>tblError_Select</code>: how to map a stored procedure that is used to execute select queries?</p>
  
  <p>I want EF to be generate <code>tblError_Select</code> along with preceding 3 stored procedures.</p>
  
  <p>I want to do CRUD operation using stored procedures with EF. Currently I can do Insert, Update, Delete but what about Select? Why does EF not create a stored procedure for <code>Select</code> operation?</p>