mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update exp to sql
This commit is contained in:
@@ -87,6 +87,9 @@ namespace OrmTest
|
||||
.Where(it=>2>it.id).Select(it=> new Order() {
|
||||
Id=SqlFunc.IIF(2>it.id,1,2)
|
||||
}).ToList();
|
||||
|
||||
|
||||
var qu4 = Db.Queryable<Order>().OrderBy(it=>it.Id+it.Id).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user