title: Entity Framework 6 - Map only one statement to Stored Procedure
body: <p>I am mapping an entity to insert to stored procedure like this:</p>
  
  <pre><code>modelBuilder  
    .Entity&lt;Member&gt;()  
    .MapToStoredProcedures(s =&gt;  
         s.Insert(u =&gt; u.HasName("stp_insert_member")));
  </code></pre>
  
  <p>The insert works great and passes all parameters to the stored procedure when I save new member.</p>
  
  <p>But what happens when I try to update a member (loading entity from db by id, changing it's properties, and saving again - what will issue the update statement) is I get an exception because it's looking for stored procedure named <code>Member_Update</code>.</p>
  
  <p>But for that (and for delete), I don't want to have stored procedures. I just want to execute a stored procedure for the insert statement.</p>
  
  <p>Can I map EF to a stored procedure for just the insert action?</p>