Table of Contents

Class AdminAuditLog

Namespace
Integrations.Application.Common
Assembly
Integrations.Application.dll

Adds AdminAuditEntry rows to the current unit of work; they are saved with the change they describe.

public sealed class AdminAuditLog
Inheritance
AdminAuditLog
Inherited Members

Constructors

AdminAuditLog(IAppDbContext, ICallerContext, BusinessClock)

Adds AdminAuditEntry rows to the current unit of work; they are saved with the change they describe.

public AdminAuditLog(IAppDbContext db, ICallerContext caller, BusinessClock clock)

Parameters

db IAppDbContext
caller ICallerContext
clock BusinessClock

Methods

Record(string, string?, string, string?)

Records action on subjectId; call before the change is saved.

public void Record(string action, string? entityId, string subjectId, string? details = null)

Parameters

action string
entityId string
subjectId string
details string