mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 21:56:03 +08:00
Add demo
This commit is contained in:
parent
e8d4576d1f
commit
e788e9dbca
@ -95,6 +95,17 @@ namespace OrmTest
|
||||
" it.Name as Name" }
|
||||
, 10)
|
||||
.SingleAsync().GetAwaiter().GetResult();
|
||||
|
||||
|
||||
RefAsync<int> c2 = 0;
|
||||
var userInfo9 = db.Queryable<Order>()
|
||||
.Select("it",
|
||||
new List<string>()
|
||||
{ "it.Id as userId",
|
||||
" {0} as id",
|
||||
" it.Name as Name" }
|
||||
, 10)
|
||||
.ToPageListAsync(1, 2, c2).GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
private static void Test03()
|
||||
|
Loading…
Reference in New Issue
Block a user