mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 19:04:58 +08:00
PgSql update exp to sql
This commit is contained in:
@@ -177,7 +177,8 @@ namespace OrmTest
|
||||
|
||||
var list4 = db.Queryable<ABMapping>()
|
||||
.Mapper(it => it.A, it => it.AId)
|
||||
.Mapper(it => it.B, it => it.BId).ToList();
|
||||
.Mapper(it => it.B, it => it.BId)
|
||||
.Where(it => it.A.Id == 1).ToList();
|
||||
|
||||
//Manual mode
|
||||
var result = db.Queryable<OrderInfo>().Take(10).Select<ViewOrder>().Mapper((itemModel, cache) =>
|
||||
|
||||
Reference in New Issue
Block a user