abp
abp copied to clipboard
Disable setting audit properties of entities for a scope
We may implement ambient context pattern with a service (like IAuditPropertyOptionScope
) that we use to create scopes and sets the options to enable/disable setting audit properties (CreationTime
, CreatorId
, LastModifierId
, LastModificationTime
, etc...).
Related to https://github.com/abpframework/abp/issues/3992
Implementation note: AuditPropertySetter
class may internally check the options, so we manage it in a central place.