mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-25 04:27:14 +08:00
-
This commit is contained in:
@@ -27,6 +27,7 @@ namespace OrmTest
|
||||
{
|
||||
Json();
|
||||
Ado();
|
||||
QueryableAsync();
|
||||
Thread();
|
||||
Thread2();
|
||||
Thread3();
|
||||
|
||||
18
Src/Asp.Net/SqlServerTest/UnitTest/UQueryableAsync.cs
Normal file
18
Src/Asp.Net/SqlServerTest/UnitTest/UQueryableAsync.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user