Hello,
Well after updated the Order table, I do a get to receive all
OrderDetail for this Order. When I tried to use this listas argument
in orderDetail.Delete(Mylist) I receive this exception
[NHibernate.MappingException] = {"Unknown entity class:
System.Collections.Generic.List`1[[MyAssembly.Business.OrderDetail,
MyAssembly.Business, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null]]"}
any idea ?
Thanks,
2009/2/24 Kris-I <[email protected]>:
> Hello,
> I have to do a delete but I'm looking for the most efficient way
>
> I take an example, the classic Order and OrderDetail with a foreignkey
> between.
>
> To insert, no problem ...
>
> When I do an update, I'd like to delete all OrderDetail for this
> specific Order, which is the most efficient way ? Because some
> OrderDetail are still there, and some not, the I remove all and insert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---