添加配置文件
This commit is contained in:
parent
f9b1e903c4
commit
866a103932
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"SqlServer": {
|
||||
"ConnectionString": "Data Source=localhost;Initial Catalog=ShardingCoreDB;Integrated Security=True"
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue