This commit is contained in:
sunkaixuan 2025-04-03 15:36:08 +08:00
parent 0128b8b435
commit df8a7384dc

View File

@ -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()