修复分库下初始化的创建路由bug发布x.3.1.24
This commit is contained in:
parent
b2c3e81298
commit
76a1e0075a
|
@ -1,8 +1,8 @@
|
|||
:start
|
||||
::定义版本
|
||||
set EFCORE2=2.3.1.23
|
||||
set EFCORE3=3.3.1.23
|
||||
set EFCORE5=5.3.1.23
|
||||
set EFCORE2=2.3.1.24
|
||||
set EFCORE3=3.3.1.24
|
||||
set EFCORE5=5.3.1.24
|
||||
|
||||
::删除所有bin与obj下的文件
|
||||
@echo off
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace ShardingCore.Bootstrapers
|
|||
$"virtual route :[{virtualRouteType}] found more declared constructor ");
|
||||
}
|
||||
|
||||
var @params = constructors[0].GetParameters().Select(x => x.ParameterType == ShardingContainer.GetService(x.ParameterType))
|
||||
var @params = constructors[0].GetParameters().Select(x => ShardingContainer.GetService(x.ParameterType))
|
||||
.ToArray();
|
||||
object o = Activator.CreateInstance(virtualRouteType, @params);
|
||||
return (IVirtualDataSourceRoute<TEntity>)o;
|
||||
|
|
Loading…
Reference in New Issue