Hi,
I am in need to a sample project in MVC 3 having stored procedures in linqtoSQL file i.e dbml.
How to call these stored procedures in model,view and contoller.
1)SP_ReadData(int a)
2)SP_Save(int a)
please provide sample codes ...
Guhananth.S
Loading
Jignesh TrivediPosted Mar 6, 2013, 11:23 PM
hi,
Please refer following link, it might help you.
http://www.asp.net/mvc/tutorials/older-versions/models-%28data%29/creating-model-classes-with-linq-to-sql-cs
http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx