Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 16, 2012 07:24 AM by ignatandrei
May 16, 2012 07:08 AM|LINK
How to retrive and update data through SQL Server Stored Procedure using MVC4 and Entity Framework 4. Any tutorial that for doing the same. Is it best to use stored procedure. Please help and guide me.
May 16, 2012 07:15 AM|LINK
in Entity framework environment, I would not advice using stored procedure...
although, if u r working on old system where bulk of logic is already writen instored procedures, then u can use SP with entity framework... as explained in this tutorial
but, if u r creating a new app with fresh logic, avoid SP
hope this helps...
May 16, 2012 07:24 AM|LINK
MVC is database agnostic. Please see http://msprogrammer.serviciipeweb.ro/2010/03/29/asp-net-mvc-orm-and-viewmodels/
IF you ask only for EF with SP, then ask in the data access forums.
If you have some MVC specific, please detail.