Start from the docs: https://www.hibernate.org/hib_docs/nhibernate/html/manipulatingdata.html#manipulatingdata-updating
On 01/08/2009, Topflysecurity <konnektgra...@gmail.com> wrote: > > hi. im coding with asp.net, i got a Customer and Customer got a > IList.. now when i add a new Customer and CustomerUser i do like this. > > var customer = new Customer { Name = txtCustomerName.Text, OrgNumber = > txtOrgNumber.Text }; var customerUser = new CustomerUser { Email = > txtUserMail.Text, Password = password.Sha1() }; > > customer.CustomerUsers.Add(customerUser); > > Now i want to update the customerUser but how should i do that? what > im after is that could i get the customer and through the customer i > update the customerUser and save the customer. how should i do that? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---