mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Edit some comments for globalization
Edit some comments for globalization
This commit is contained in:
parent
2e9a331e3c
commit
1d03ac559c
@ -469,19 +469,19 @@ db.CodeFirst.InitTables(typeof(CodeTable),typeof(CodeTable2));
|
||||
|
||||
## 9. AOP LOG
|
||||
```
|
||||
db.Aop.OnLogExecuted = (sql, pars) => //SQL执行完事件
|
||||
db.Aop.OnLogExecuted = (sql, pars) => //SQL executed event
|
||||
{
|
||||
|
||||
};
|
||||
db.Aop.OnLogExecuting = (sql, pars) => //SQL执行前事件
|
||||
db.Aop.OnLogExecuting = (sql, pars) => //SQL executing event (pre-execution)
|
||||
{
|
||||
|
||||
};
|
||||
db.Aop.OnError = (exp) =>//执行SQL 错误事件
|
||||
db.Aop.OnError = (exp) =>//SQL execution error event
|
||||
{
|
||||
|
||||
};
|
||||
db.Aop.OnExecutingChangeSql = (sql, pars) => //SQL执行前 可以修改SQL
|
||||
db.Aop.OnExecutingChangeSql = (sql, pars) => //SQL executing event (pre-execution,SQL script can be modified)
|
||||
{
|
||||
return new KeyValuePair<string, SugarParameter[]>(sql,pars);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user