fix: 修复dispose 不生效的问题

main
NoahLan 7 months ago
parent f67d054aae
commit 6ce4bf3fa3

@ -19,6 +19,7 @@ public class SqlSugarTransactionApi : ITransactionApi, ISupportsRollback
public void Dispose() public void Dispose()
{ {
_sqlSugarDbContext.SqlSugarClient.Ado.Dispose();
} }
public async Task CommitAsync(CancellationToken cancellationToken = default) public async Task CommitAsync(CancellationToken cancellationToken = default)

Loading…
Cancel
Save