abp icon indicating copy to clipboard operation
abp copied to clipboard

About setting CreatorId in AuditedAggregateRoot

Open wingqing1314 opened this issue 6 years ago • 1 comments

Is there a best practice for setting the CreatorId & LastModifierId properties of the AuditedAggregateRoot?

In my project , the user ID information is in the JWT Token,so I want to have a unified injection place.

wingqing1314 avatar Jun 10 '20 02:06 wingqing1314

See https://docs.abp.io/en/abp/latest/Entities#base-classes-interfaces-for-audit-properties

realLiangshiwei avatar Jun 10 '20 02:06 realLiangshiwei