c# - How to create/edit models via view in asp.net mvc 5 -
i got 1 question related model can see in picture below.
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
Post a Comment