This commit is contained in:
sunkaixuan
2019-05-19 18:10:12 +08:00
parent a029e15696
commit fcf522cdc6
4 changed files with 23 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace OrmTest
{
public partial class NewUnitTest
{
public static void QueryableAsync()
{
RefAsync<int> total = 0;
Task t=Db.Queryable<Order>().ToPageListAsync(1, 2, total);
t.Wait();
}
}
}