Identity is not under NH's control. That means that NH must hit the DB in the moment you call Save() or Create(). But AFAIk that's not related to deletion.
Sorry, I have no more ideas. If you like, you can send me a stripped down version of your code via private mail and I'll have a look at it. But don't nail me to a date. -Markus 2008/10/31 Kyle West <[EMAIL PROTECTED]> > the Id is a int (identity). > I tried adding the relationtype but it made the whole framework fail, no > idea why yet. > > > On Thu, Oct 30, 2008 at 3:10 AM, Markus Zywitza <[EMAIL PROTECTED]>wrote: > >> Does your item class have an ID? WHich type is it? >> >> By default, relations get mapped as bag. List or IdBag may give you better >> experience. >> >> -Markus >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
