From 6da62de08a9d68579280ced136a1f8799d515872 Mon Sep 17 00:00:00 2001 From: xuejiaming <326308290@qq.com> Date: Fri, 24 Dec 2021 15:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83x.3.2.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuget-publish.bat | 8 ++++---- samples/Sample.SqlServerShardingTable/Startup.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nuget-publish.bat b/nuget-publish.bat index 40b754cc..9ea4931b 100644 --- a/nuget-publish.bat +++ b/nuget-publish.bat @@ -1,9 +1,9 @@ :start ::定义版本 -set EFCORE2=2.3.1.94 -set EFCORE3=3.3.1.94 -set EFCORE5=5.3.1.94 -set EFCORE6=6.3.1.94 +set EFCORE2=2.3.2.00-preview1 +set EFCORE3=3.3.2.00-preview1 +set EFCORE5=5.3.2.00-preview1 +set EFCORE6=6.3.2.00-preview1 ::删除所有bin与obj下的文件 @echo off diff --git a/samples/Sample.SqlServerShardingTable/Startup.cs b/samples/Sample.SqlServerShardingTable/Startup.cs index 4a2d4d65..af74e19e 100644 --- a/samples/Sample.SqlServerShardingTable/Startup.cs +++ b/samples/Sample.SqlServerShardingTable/Startup.cs @@ -43,7 +43,7 @@ namespace Sample.SqlServerShardingTable //Èç¹ûÄúʹÓÃcode-first½¨ÒéÐÞ¸ÄΪfsle op.EnsureCreatedWithOutShardingTable = true; //µ±ÎÞ·¨»ñȡ·ÓÉʱ»á·µ»ØĬÈÏÖµ¶ø²»ÊDZ¨´í - op.ThrowIfQueryRouteNotMatch = false; + op.ThrowIfQueryRouteNotMatch = true; }).AddShardingTransaction((connection, builder) => { builder.UseSqlServer(connection).UseLoggerFactory(efLogger);