mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update ToPageListAsync(+1)
This commit is contained in:
@@ -265,6 +265,13 @@ namespace OrmTest
|
||||
//}).ExecuteCommand();
|
||||
var d1111111111111 = db.Queryable<SqlSugarDemo.UserEntity>()
|
||||
.Mapper<SqlSugarDemo.UserEntity, SqlSugarDemo.RoleEntity, SqlSugarDemo.UserRoleEntity>(it => ManyToMany.Config(it.UserId, it.RoleId)).InSingle(data.UserId);
|
||||
RefAsync<int> x11 = 0;
|
||||
RefAsync<int> y1 = 0;
|
||||
db.Queryable<Order>().ToPageListAsync(1, 2, x11, y1).GetAwaiter().GetResult();
|
||||
if (x11.Value > 0 && y1.Value == 0)
|
||||
{
|
||||
throw new Exception("unit test error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user