From 02818a782a08f3c2dac7522eea9021dbcc145ce3 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 29 Apr 2019 15:46:21 +0800 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffa0708c7..f9f7deb0a 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ for (int i = 0; i < 1000; i++) } var s9 = db.Insertable(insertObjs.ToArray()).InsertColumns(it => new { it.Name }).ExecuteCommand(); ``` -## 3. Deleteable +## 4. Deleteable We use it to Delete ```cs @@ -231,7 +231,14 @@ var t5 = db.Deleteable().Where(it => it.Id == 1).ExecuteCommand(); ``` - ## 5. Table structure is different from entity + ## 5. SqlQueryable +```cs +var list = db.SqlQueryable("select * from student").ToPageList(1, 2); +var list2 = db.SqlQueryable("select * from student").Where(it=>it.Id==1).ToPageList(1, 2); +var list3= db.SqlQueryable("select * from student").Where("id=@id",new { id=1}).ToPageList(1, 2); +```cs + + ##### Priority level: AS>Add>Attribute ### 5.1 Add