mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add demo
This commit is contained in:
parent
0128b8b435
commit
df8a7384dc
@ -45,6 +45,15 @@ namespace OrmTest
|
||||
" it.Name as Name" }
|
||||
, 10)
|
||||
.ToPageList(1, 2, ref c);
|
||||
|
||||
var userInfo4 = db.Queryable<Order>()
|
||||
.Select("it",
|
||||
new List<string>()
|
||||
{ "it.Id as userId",
|
||||
" {0} as id",
|
||||
" it.Name as Name" }
|
||||
, 10)
|
||||
.ToListAsync().GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
private static void Test03()
|
||||
|
Loading…
Reference in New Issue
Block a user