So, what's the purpose of session.isDirty if it performs insert before calling session.Save? That means I cannot use it to warn the user... Is there a workaround for that?
On 29 mar, 17:01, Fabio Maulo <[email protected]> wrote: > 2009/3/29 nasedo47 <[email protected]> > > > How can I prevent it to perform > > that query? > > And the user, probably doesn't the same behavior for the parent too... not > only for the child. > Unfortunately, to know the ID, there is not another way than "go to DB" if > you are using Identity as POID generator strategy. > > -- > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
