mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update README.md
This commit is contained in:
@@ -169,7 +169,9 @@ var t4 = db.Deleteable<Student>().In(new int[] { 1, 2 }).ExecuteCommand();
|
||||
|
||||
//by expression
|
||||
var t5 = db.Deleteable<Student>().Where(it => it.Id == 1).ExecuteCommand();
|
||||
|
||||
```
|
||||
[<font color=red>View more >> </font>](https://github.com/sunkaixuan/SqlSugar/wiki/4.Deleteable )
|
||||
|
||||
|
||||
## 5. SqlQueryable
|
||||
@@ -178,6 +180,7 @@ var list = db.SqlQueryable<Student>("select * from student").ToPageList(1, 2);
|
||||
var list2 = db.SqlQueryable<Student>("select * from student").Where(it=>it.Id==1).ToPageList(1, 2);
|
||||
var list3= db.SqlQueryable<Student>("select * from student").Where("id=@id",new { id=1}).ToPageList(1, 2);
|
||||
```
|
||||
[<font color=red>View more >> </font>](https://github.com/sunkaixuan/SqlSugar/wiki/5.SqlQueryable )
|
||||
|
||||
## 6. SaveQueues
|
||||
Perform multiple operations together with transactions
|
||||
|
Reference in New Issue
Block a user