From dd9c51771eea13e4c867313f9cbd1d8536d75099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E7=B3=96=E7=BD=91?= <610262374@qq.com> Date: Sun, 10 Oct 2021 22:40:00 +0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cf67ea43a..99e571235 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Using SqlSugar is very simple , And it's powerful. ## Feature characteristic -### Feature1: Join query +### Feature1 : Join query Super simple query syntax ```cs var query5 = db.Queryable() @@ -50,7 +50,7 @@ WHERE ([o].[Id] = @Id0) ``` -### Feature2: Page query +### Feature2 : Page query ```cs int pageIndex = 1; @@ -59,7 +59,7 @@ WHERE var page = db.Queryable().ToPageList(pageIndex, pageSize, ref totalCount); ``` -### Feature3:Dynamic expression +### Feature3 : Dynamic expression ```cs var names= new string [] { "a","b"}; Expressionable exp = new Expressionable(); @@ -76,7 +76,7 @@ SELECT [Id],[Name],[Price],[CreateTime],[CustomId] ([Name] like '%'+ CAST(@MethodConst1 AS NVARCHAR(MAX))+'%') ) ``` -### Feature4: Multi-tenant transaction +### Feature4 : Multi-tenant transaction ```cs //Creaate database object SqlSugarClient db = new SqlSugarClient(new List() @@ -102,7 +102,7 @@ db.BeginTran(); db.CommitTran(); ``` -### Feature5: Singleton Pattern +### Feature5 : Singleton Pattern Implement transactions across methods ```CS public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()