jhipster / jhipster-net-sample-app-template

JHipster.NET sample application
50 stars 18 forks source link

Integrate Audit #3

Open danielpetisme opened 5 years ago

danielpetisme commented 5 years ago

JHipster provides a configuration for autiting the entities (in particular for the User). In the .Net world, the project Audit.Net and the module Audit.EntityFramework looks close to what Spring Data proposes.

So far, I don't find an out of the box solution to mimic the @CreatedBy, @CreatedDate, @LastModifiedBy and @LastModifiedDate Spring annotations.

A lead would be to decorate the DatabaseContext to inject the values before the data is persisted.