- 增加 DbContextOptions.AuditValue 基于 Ioc Scoped 审计值;

This commit is contained in:
2881099
2024-01-29 09:17:49 +08:00
parent c74b202b54
commit 096ecdfb84
9 changed files with 417 additions and 9 deletions

View File

@ -72,6 +72,7 @@ namespace FreeSql
{
var repoInfo = new RepoInfo(repository);
repository.UnitOfWork = Current;
if (_repos.Any(a => a.Repository == repository)) return;
_repos.Add(repoInfo);
}
void SetAllRepositoryUow()