Absolutely.

Simple example....

var enversCfg = new FluentConfiguration();
enversCfg.Audit<YourTypeToAudit>();

nhConfiguration.IntegrateWithEnvers(enversCfg);


________________________________
Från: [email protected] [[email protected]] för Alex Brown 
[[email protected]]
Skickat: den 12 november 2012 19:00
Till: [email protected]
Ämne: [nhusers] NHibernate.Envers - Marking a class as [Audited] without using 
attribute

Is there a way to mark one of my classes as [Audited] without using the 
Attribute?
Mainly because I have all my classes in a MyProject.Model class library, that 
doesn't currently contain a reference to NHibernate (or NHibernate.Envers)

--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/uAvEQ-lf08YJ.
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.

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