Triggers in NHibernate
Posted
by Felipe
on Stack Overflow
See other posts from Stack Overflow
or by Felipe
Published on 2010-05-18T13:57:07Z
Indexed on
2010/05/18
14:00 UTC
Read the original article
Hit count: 299
Hi everybody,
I'd like to know if is there something like a Trigger (of databases) in NHibernate that I can use per entity ?
I'd like to make a history of each record, and with triggers I can compare the old value and new value of each property and generate a register of history.
I've heard about Audit in NHibernate, but it's for all entities, if there isn't another way... how Can I separete a block per entity ?
Thanks
© Stack Overflow or respective owner