c# - How to create/edit models via view in asp.net mvc 5 -


i got 1 question related model can see in picture below.

enter image description here

as can see got 3 entities , 1:n , m:n relations between them.

i want can edit these models through web interface. therefore scaffold (add controller entity framework) these 3 models , got edit/delete/create/ views , of course 1 controller each entity.

but there no input/fields created relations automatically vs. thought implement them manually. before want there simpler way implement/scaffold model, can edit relations(checkboxes or (multi)select best)? in advance!

for one-many can use dropdownlist tip in partner view (see scott allen's solution. many-many can handled viewmodels , javascript frameworks knockout.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -