Check you cascading options in the mapping. Envoyé de mon iPhone
> Le 28 déc. 2014 à 23:38, [email protected] a écrit : > > Hi all, > > I'm using NHibernate in combination with VB.Net, and have following code: > > Dim rmen As IMenu = New MenuRepository > Dim rpgm As IProgram = New ProgramRepository > Dim menus As MCls.Domain.Menu = rmen.GetByName(Menu.SelectedItem) > Dim prog As Program = rpgm.Get(MenuItems.SelectedValue) > menus.Programs.Remove(prog) > rmen.Update(menus) > > > This is not working, the item is still in the "bag" > What am I doing wrong? > > Benjamin > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
