Sql View and Stored Procedure Entity FrameWork
Is there any chance for user Sql View and Stored Procedure in Enity Frame work 6 code first method MVC
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravi KumarRank #2,085 · 690 reputationPosted Sep 21, 2014, 9:12 PM EDT
right click on that you can see option update model from the database.
in that you can see add tab
in that you can see tables and views
in views you can select what ever view you want.
Ravi KumarRank #2,085 · 690 reputationPosted Sep 21, 2014, 8:04 PM EDT
In Entity frame work we can use views.
not sure about stored procedures.
Ajith kp132 reputationPosted Sep 21, 2014, 8:33 PM EDT
Ravi KumarRank #2,085 · 690 reputationPosted Sep 21, 2014, 8:42 PM EDT
instead of table you can use views.
Ajith kp132 reputationPosted Sep 21, 2014, 8:48 PM EDT
Ravi KumarRank #2,085 · 690 reputationPosted Sep 21, 2014, 8:51 PM EDT
give you table example
Ajith kp132 reputationPosted Sep 21, 2014, 9:04 PM EDT
Ajith kp132 reputationPosted Sep 21, 2014, 9:39 PM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Sep 22, 2014, 12:20 AM EDT
Hi,
Please refer my article
http://www.c-sharpcorner.com/UploadFile/ff2f08/code-first-stored-procedure-entity-framework-6-0/
hope this will help you.