mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add demo
This commit is contained in:
parent
b526c3bfc1
commit
18f88558ac
@ -86,6 +86,13 @@ namespace OrmTest
|
|||||||
db.Queryable<Order>()
|
db.Queryable<Order>()
|
||||||
.LeftJoin<Custom>((x, y) => x.Id == y.Id)
|
.LeftJoin<Custom>((x, y) => x.Id == y.Id)
|
||||||
.LeftJoin<Custom>((x, y,z) => x.Id == y.Id).ToList();
|
.LeftJoin<Custom>((x, y,z) => x.Id == y.Id).ToList();
|
||||||
|
|
||||||
|
db.Deleteable<Order>().Where(it => it.Id == 1)
|
||||||
|
.EnableQueryFilter().ExecuteCommand();
|
||||||
|
db.Updateable<Order>()
|
||||||
|
.EnableQueryFilter().SetColumns(it => it.Name=="a1")
|
||||||
|
|
||||||
|
.Where(it => true).ExecuteCommand();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user