添加配置文件

This commit is contained in:
xuejmnet 2021-01-26 16:54:29 +08:00
parent f9b1e903c4
commit 866a103932
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
{
"SqlServer": {
"ConnectionString": "Data Source=localhost;Initial Catalog=ShardingCoreDB;Integrated Security=True"
}
}

View File

@ -31,7 +31,7 @@ namespace ShardingCore.Test50
Assert.Equal(1000,ranges.Count);
}
[Fact]
public async Task ToList1_OrderBy_Test()
public async Task ToList_OrderBy_Asc_Desc_Test()
{
var modascs=await _virtualDbContext.Set<SysUserMod>().OrderBy(o=>o.Age).ToShardingListAsync();
Assert.Equal(100,modascs.Count);