first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace F9WebAiTest.Application.Interfaces.UOW;
|
||||
|
||||
/// <summary>工作单元:在事务内执行一组操作(简化版,替代 F9 的 Begin/Commit/Rollback)</summary>
|
||||
public interface IUnitOfWork_F9
|
||||
{
|
||||
/// <summary>在事务内执行操作,返回是否提交成功(异常自动回滚)</summary>
|
||||
Task<bool> ExecuteWithUow(Func<Task<bool>> func);
|
||||
}
|
||||
Reference in New Issue
Block a user