You must Sign In to post a response.
  • Category: ASP.Net MVC

    How to work with Stored procedure,WCF in asp.net mvc

    Hi,

    I need sample or example for crud operations in asp.net mvc using stored procedure
    wcf
  • #761309
    Are you using Entity Framework or ADO.NET BOL?

    if you are using Entity Framwork you have to uset

    YourmodelBuilder.Entity<ClassName>).MapToStoredProcedures();

    if you are using ADO.net
    you have to tell commandType in your command object

    By Nathan
    Direction is important than speed

  • #761316
    Hello Dinesh,

    I am totally agreed with Nathan.

    You can also refer the below links for sample projects and code :
    http://www.codeproject.com/Articles/522611/Entity-Framework-CRUD-Operations-Using-Stored-Proc

    http://www.c-sharpcorner.com/UploadFile/092589/crud-operations-using-stored-procedure-entity-framework-in/

    http://www.c-sharpcorner.com/UploadFile/4b0136/working-with-stored-procedures-using-entity-framework-part/

    Hope this will help you.

    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"


Sign In to post your comments