Click here to Skip to main content
15,886,632 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I am using ADO.NET Entity Model,I need to fetch data from more than 2 store procedures present in the one SP (i am executing more than one SP in this)
My SP somewhat looks like this

create PROCEDURE [dbo].[SP_ReadAllData]  
   @Id int
AS  
BEGIN  


IF(@Id is not null)
BEGIN

	exec SP1 @Id
	exec SP2 @Id
	exec SP3 @Id

END
ELSE
return 1
END

Please help me in this

Thank you in advance
Posted

1 solution

A quick google shows these[^]

this was the best article on the subject that I could see from the search.

Stored Procedures in the Entity Framework[^]

Also here on Code project there is

Entity Framework CRUD Operations Using Stored Procedures[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900