i have create a Stored Procedure(Name: Insert_Data) to insert data 2 or more table. Now i want to use Store procedure using entity framework in Repository Pattern. How can i use it?
There are a number of resources available for tackling this issue. Here’s a couple references for you to take a look at regarding using SP’s with Entity Framework
I want to use in Repository Pattern.
This might be a step closer to what you’re looking for, then: http://www.codeproject.com/Articles/805369/Using-an-Entity-Framework-Designer-for-Stored-Proc
And perhaps even better: http://forums.asp.net/t/1668454.aspx?EF4+Repository+Pattern+with+Stored+Procedure
For this issue, please refer to this related thread:
# How can I use a stored procedure + repository + unit of work patterns in Entity Framework?