This commit is contained in:
2881099
2024-01-29 09:29:36 +08:00
parent 096ecdfb84
commit 09f3a6bf35
38 changed files with 46 additions and 145 deletions

View File

@ -50,10 +50,9 @@ namespace FreeSql
public Action<List<DbContext.EntityChangeReport.ChangeInfo>> OnEntityChange { get; set; }
/// <summary>
/// DbContext/Repository 审计值事件,适合 Scoped IOC 中获取登陆信息
/// DbContext/Repository 审计值,适合 Scoped IOC 中获取登陆信息
/// </summary>
public event EventHandler<DbContextAuditValueEventArgs> AuditValue;
public EventHandler<DbContextAuditValueEventArgs> AuditValueHandler => AuditValue;
public Action<DbContextAuditValueEventArgs> AuditValue;
}
public class DbContextAuditValueEventArgs : EventArgs