mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
#694 ✨ Exception信息 国际化 多语言
This commit is contained in:
@ -55,7 +55,7 @@ namespace FreeSql
|
||||
public void Close()
|
||||
{
|
||||
if (_tran != null)
|
||||
throw new Exception("已开启事务,不能禁用工作单元");
|
||||
throw new Exception(DbContextStrings.TransactionHasBeenStarted);
|
||||
|
||||
Enable = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user