You may be interested in following the progress of NHibernate Envers, which could be just what you need. Or could perhaps possibly need in the future.... Investigate it enough to make an informed choice, but don't build more than you need..
On Sat, Oct 16, 2010 at 6:46 PM, Diego Mijelshon <[email protected]> wrote: > I'm building a nuclear reactor now, but I might want to turn it into a > spaceship later for some reason... > > Diego > > > On Fri, Oct 15, 2010 at 12:02, Tim Hoolihan - @thoolihan > <[email protected]> wrote: >> >> Our team has a project using NHibernate in a pretty normal DDD >> fashion. Using repository pattern, service layer (not web services). >> There has been discussion that the product owners may want to change >> to an audit model later, where they can see each change. >> >> It's currently unclear how they would want to see this, and how >> often. It may be we can simply log all changes out via an audit >> listener and not change much. >> >> But the requirements may lead us to thinking we should move the >> database to an audit model (by which I mean, updates are really >> inserts with a newer timestamp, and select defaults to the latest >> version). >> >> Which leads to my question / investigation: >> >> We could hand write this in via the repository, or try to get fancy >> with IInterceptor. But I wanted to check first, are there any >> libraries in the community that assist with this kind of thing? I'm >> thinking of how Burrow implements conversations, but for audit- >> friendly databases. >> >> Any insight would be appreciated. Thanks. >> >> -- >> 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. >> > > -- > 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. > -- 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.
