Guhananth S

Guhananth S

  • NA
  • 57
  • 0

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

Mar 6 2013 1:06 AM

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)