How to track Entity column changes and save the history in new table #16150
Unanswered
rajasingh012
asked this question in
Q&A
Replies: 1 comment
-
I have a automapper mapping with original class to DTO and again DTO to original class. I think because of that which column modified information is lost. Looking on it. Will update here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have Post class, whenever the text changed it should be recorded in PostHistory class
class Post { Guid id, string text }
In CMSDbcontext class, which extended AbpDbContext class, wrote the following code
But the originalValues and currentValues are same. So can't create posthistory. What is the best way to track this scenario
Beta Was this translation helpful? Give feedback.
All reactions