Any way to get audit for value object? #442
Unanswered
Cachorro93
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I mean that eg. I have Milestone, then Milestone has configuration stored in a property of name Configuration and type of MilestoneConfiguration.
When I change some in milestone and/or his configuration I would like to get one change event and create one record on the audit log.
Is it any way to get it? Unfortunately, now I have information only for basic properties like "SuggesttedDate" and if I want to log configuration I have to add a new mapping but I won't do that because I would like to have only one big entry in the log table. When I have separate mappings I occurrence many entries with one save so it's not good for me.
as for entity framework configuration, it's:
As you can see, the configuration has next value object MilestoneConfigurationPhase but I think that it's not important now.
For mapping I use ExplicitMapper:
Is it possible you get one audit event and log entry for "all tree" when i have milestone object with all references?
Beta Was this translation helpful? Give feedback.
All reactions