Update unit test

This commit is contained in:
sunkaixuan
2023-08-13 16:10:31 +08:00
parent b7e479079d
commit 4859aa43ab
3 changed files with 27 additions and 0 deletions

View File

@@ -38,6 +38,14 @@ namespace OrmTest
Date = x.CreateTime!.Value.Date,
SumPrice = SqlFunc.AggregateSum(x.Price)
}).MergeTable().ToList();
for (int i = 0; i < 100; i++)
{
var guids = Db.Queryable<Order>().Select(it => new
{
id = SqlFunc.NewUid()
}).Take(10).ToList();
}
Console.WriteLine(list.Count);
}