1
Answer

ASP.NET MVC 3 - CALLING STORED PROCEDURE WHICH ARE IN DBML

Guhananth S

Guhananth S

11y
4.5k
1

Hi,

I am creating a MVC3 project with linq to sql in dbml in model.I had dragged following stored procedures in dbml file.

a)SP_AddCustomer()

b)SP_GetCustomer()

c)SP_GetCustomer(string customerid)

d)SP_DeleteCustomer(string customerid)

I do not know how to call them in Controller,Model and View.

Please help urgent.

I am not using Entity framework .

Please share sample project or urls.

Regards

S.Guhananth

Answers (1)