Hi folks! My real problem begin with the MSSQL doesn't have the BEFORE Trigger. So I Had to use a INSTEAD OF Insert trigger, that do what I need before the insert query it self (That it "re-written" into this trigger).
With this, when I go to insert with NHibernate, NHibernate try to request the Identity value with a 'Select Scope_Identity()' that obviously return a NULL value.
Can I change the way of NHibernate get this identity, like using the @@IDENTITY, or a custom select returned by this trigger...
Any helpfull idea it's welcome, thank you very mutch and sorry about the english!
_________________ ---
TKs
|