#694 Exception信息 国际化 多语言

This commit is contained in:
igeekfan
2022-05-20 02:52:58 +08:00
parent a7b40e9a5a
commit 83a4bb8039
79 changed files with 5343 additions and 398 deletions

View File

@ -55,7 +55,7 @@ namespace FreeSql
public void Close()
{
if (_tran != null)
throw new Exception("已开启事务,不能禁用工作单元");
throw new Exception(DbContextStrings.TransactionHasBeenStarted);
Enable = false;
}