Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Limit whats logged in EntityHistory. #5360


User avatar
0
rattlehub created

I have a class called Address. I want to track changes with EntityHistory but I want to not log all the objects. For example is it possible to track changes on certain objects, for example, exclude CreatorUserId etc. It seems I can only add selectors on the class. Configuration.EntityHistory.Selectors.Add("Address", typeof(Address));


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can use <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Entity-History#enable-disable-by-attributes">https://aspnetboilerplate.com/Pages/Doc ... attributes</a>