How to save data in multiple tables from single view
i want to save data of my register form in 4 different tables when i click save, i have same columns in tables . entity framework is taking only one table ,when i i update EF to add another tables it is not taking and how to access multiple models in single view

Bikesh SrivastavaRank #108 · 20.3K reputationPosted Aug 3, 2016, 9:28 PM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Aug 3, 2016, 9:34 PM EDT
Hi Suman,
Regarding access of multiple models in a single viewyou can use view model. Many ways are there to do but I prefer view model.Using view model you can have multiple tablesand you can pass a view model to controller and add to different tables.Please find the below link.
If the above solution is helpful then,accept the answer.
Vinay SinghRank #604 · 4K reputationPosted Aug 4, 2016, 3:42 AM EDT
Rajendra Mote72 reputationPosted Aug 10, 2016, 6:23 AM EDT