Hi,

is there a way for using IIinterceptor to write a audit entity to the
database?

Say i have a Entity named AuditData that is mapped to the database.

AuditData Class has the following properties:

int Id
string Data

where Data contains the changes to a Business Entity.

This way i want to create a new AuditData object and persist it to the
database through the session.

Is there a way to do this using the IInterceptor?



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to