I have three database tables with foreign keys to each other, and I want to insert data into those tables. I created three models and MVCForm. How can I insert data into those three tables with one MVCForm?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create regular fields in the MVCForm, since it’s child of Form, so you should be able to do: