From 89b86c22d6c1ce0bfdf422acd87b96276bd2dc20 Mon Sep 17 00:00:00 2001 From: xuejiaming <326308290@qq.com> Date: Sun, 6 Mar 2022 16:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=BB=E5=86=99=E5=88=86?= =?UTF-8?q?=E7=A6=BB=E5=A4=9A=E9=A1=B9=E7=9B=AE=E4=B8=8B=E7=9A=84ISharding?= =?UTF-8?q?ReadWriteAccessor=E4=BB=85=E6=B3=A8=E5=86=8C=E4=B8=80=E4=B8=AAb?= =?UTF-8?q?ug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuget-publish.bat | 8 ++++---- .../ConfigBuilders/ShardingConfigBuilder.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nuget-publish.bat b/nuget-publish.bat index 8d54bc87..67272831 100644 --- a/nuget-publish.bat +++ b/nuget-publish.bat @@ -1,9 +1,9 @@ :start ::定义版本 -set EFCORE2=2.4.2.01 -set EFCORE3=3.4.2.01 -set EFCORE5=5.4.2.01 -set EFCORE6=6.4.2.01 +set EFCORE2=2.4.2.02 +set EFCORE3=3.4.2.02 +set EFCORE5=5.4.2.02 +set EFCORE6=6.4.2.02 ::删除所有bin与obj下的文件 @echo off diff --git a/src/ShardingCore/Core/ShardingConfigurations/ConfigBuilders/ShardingConfigBuilder.cs b/src/ShardingCore/Core/ShardingConfigurations/ConfigBuilders/ShardingConfigBuilder.cs index 22d06c95..1dce34e7 100644 --- a/src/ShardingCore/Core/ShardingConfigurations/ConfigBuilders/ShardingConfigBuilder.cs +++ b/src/ShardingCore/Core/ShardingConfigurations/ConfigBuilders/ShardingConfigBuilder.cs @@ -105,7 +105,7 @@ namespace ShardingCore.Core.ShardingConfigurations.ConfigBuilders services.AddSingleton(sp => ShardingCoreConfigBuilder.ShardingEntityConfigOptions); services.AddSingleton(sp => CreateShardingConfigurationOptions(isMultiConfig, configurationStrategy)); - services.TryAddSingleton>(); + services.AddSingleton>(); services.AddInternalShardingCore(); return services;