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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Sep 22, 2014, 4:20 AM
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.
Ajith kpPosted Sep 22, 2014, 1:39 AM
Ravi KumarPosted Sep 22, 2014, 1:12 AM
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.
Ajith kpPosted Sep 22, 2014, 1:04 AM
Ravi KumarPosted Sep 22, 2014, 12:51 AM
give you table example
Ajith kpPosted Sep 22, 2014, 12:48 AM
Ravi KumarPosted Sep 22, 2014, 12:42 AM
instead of table you can use views.
Ajith kpPosted Sep 22, 2014, 12:33 AM
Ravi KumarPosted Sep 22, 2014, 12:04 AM
In Entity frame work we can use views.
not sure about stored procedures.