Convert the code from Stroed procedure to Linq
how to convert the code from Stroed procedure to Linq in dotnet frame work 4.0
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sarfaraj mdPosted Nov 8, 2012, 12:49 AM
Write a storeProcedure in Sql server & execute..then..open server Explorer...in Visual Studio Window...open the same serve,the storeProcedure was contain.
Add a .dbml file in the project named 'Linq to sql'.
Then Just Drag & drop the StoreProcrdure to the 'right side panel of the layout form' & then see the .cs file in side the App_code file.