CRUD Update, changing entity relationship with dropdown using ASP.NET MVC 2, and NHibernate -
i'm running few problems crud update (edit) scenarios entity relationship altered via drop down list of possible entities, using asp.net mvc , nhibernate. doing stupid, wondering if give me quick example of how should done, haven't been able find many examples on web. (there's nothing in nerddinner example)
so using arbitrarily simple model:
public class person { int id { get; set;} string name { get; set} person buddy { get; set} }
could give me example (or link example) of 'update' crud view , action(s) in scenario?
- don't worry repository code
- for sake of comparison existing code, helpful if example used formcollection (i know not ideal).
thank you!
you can try @ sharp architecture. have northwind sample employeescontroller , transfervalues method. there update shown nested entities
Comments
Post a Comment