From d4a083b83ff27b6c8b1cd59702a7a7c2265b6977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E7=B3=96=E7=BD=91?= <610262374@qq.com> Date: Mon, 11 Oct 2021 08:43:12 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28293b0b5..db800977a 100644 --- a/README.md +++ b/README.md @@ -127,18 +127,18 @@ public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig() using (var tran = Db.UseTran()) { - //业务代码 + new Test2().Insert(XX); new Test1().Insert(XX); - .....出错会自动回滚 + ..... .... - tran.CommitTran();//这个提交不能漏掉 + tran.CommitTran(); } ``` ### Feature6 : Query filter ```cs -//set Filter +//set filter db.QueryFilter.Add(new TableFilterItem(it => it.Name.Contains("a")));