Stored Procedure in Entity Framework

Posted by kamal on Stack Overflow See other posts from Stack Overflow or by kamal
Published on 2010-04-30T13:23:09Z Indexed on 2010/04/30 13:27 UTC
Read the original article Hit count: 322

Hi

I had added the Stored procedure in my Entity framework and i also imported the functions in the edmx. Is it must to add all the three functions insert, update, and delete functions to a table. I had tried with insert alone and also with all, but why can't i get the name of the stored procedure in the connection string.

Let me know what i done clearly.

  1. I had added the sp
  2. i had imported the functions in the model browser.
  3. i had also mapped the insert, update and delete function to the table with return type only for insert and update. Still i can't get the name of SP in the connection string.

    Please let me know how could i resolve this issue. Thanks in Advance, Kamal.

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql-server