mcintyre321 / FormFactory

MVC5, Core or standalone - Generate rich HTML5 forms from your ViewModels, or build them programatically
http://formfactoryaspmvc.azurewebsites.net/
MIT License
304 stars 102 forks source link

Could the database operations be dynamic too? #20

Closed abdoady closed 8 years ago

abdoady commented 8 years ago

I wonder how to make database operations dynamic, have you done such example?

mcintyre321 commented 8 years ago

I'm not sure what you mean! You might be looking for the UpdateModel method in ASP MVC?

abdoady commented 8 years ago

I mean on form submit, do we need to define a database table for each viewModel we created? For example if I'm about to submit the AutoCompleteExample form, do I need to create a db table(location, country) to save data, or you have a better approach for that? Thanks for your reply. :)

mcintyre321 commented 8 years ago

Maybe you are looking for a schema free NOSQL database like mongodb You should ask questions like this on stackoverflow.com though, as this is a general programming question. On 17 Mar 2016 20:32, "Abdullah Adi" notifications@github.com wrote:

I mean on form submit, do we need to define a database table for each viewModel we created? For example if I'm about to submit the AutoCompleteExample form, do I need to create a db table(location, country) to save data, or you have a better approach for that?

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/mcintyre321/FormFactory/issues/20#issuecomment-198069600