i have added entity framework to my project and added 4 tables . they have seperate model classes
now i want to insert data in all tables from single view,
how to access multiple models in single view
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.
Rajeev PunhaniPosted Aug 5, 2016, 2:39 AM
Hi Suman ,
try creating a view model with thoseentity. Please refer below link for View Model.
If the above solution is helpful then,accept the answer.
Midhun TpPosted Aug 5, 2016, 1:34 AM