Skip to content

Commit

Permalink
发布7.x.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejmnet committed Nov 26, 2022
1 parent 3a16169 commit 9de612b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 10 deletions.
10 changes: 5 additions & 5 deletions nuget-publish.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:start
::定义版本
set EFCORE7=7.7.0.6
set EFCORE6=7.6.0.6
set EFCORE5=7.5.0.6
set EFCORE3=7.3.0.6
set EFCORE2=7.2.0.6
set EFCORE7=7.7.0.7
set EFCORE6=7.6.0.7
set EFCORE5=7.5.0.7
set EFCORE3=7.3.0.7
set EFCORE2=7.2.0.7

::删除所有bin与obj下的文件
@echo off
Expand Down
2 changes: 1 addition & 1 deletion src/ShardingCore/ShardingCore.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>$(EFCORE7)</Version>
<Version>7.7.0.7</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE;DEBUG;EFCORE7;</DefineConstants>
<LangVersion>latest</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion src2/ShardingCore2/ShardingCore2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(EFCORE2)</Version>
<Version>7.2.0.7</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE;DEBUG;EFCORE2;</DefineConstants>
<LangVersion>9.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion src3/ShardingCore3/ShardingCore3.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(EFCORE3)</Version>
<Version>7.3.0.7</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE;DEBUG;EFCORE3;</DefineConstants>
<LangVersion>9.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion src5/ShardingCore5/ShardingCore5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>$(EFCORE5)</Version>
<Version>7.5.0.7</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE;DEBUG;EFCORE5;</DefineConstants>
<LangVersion>9.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion src6/ShardingCore6/ShardingCore6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>$(EFCORE6)</Version>
<Version>7.6.0.7</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE;DEBUG;EFCORE6;</DefineConstants>
<LangVersion>9.0</LangVersion>
Expand Down
1 change: 1 addition & 0 deletions test/ShardingCore.Test/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public void ConfigureServices(IServiceCollection services, HostBuilderContext ho
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//op.UseEntityFrameworkCoreProxies = true;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
Expand Down
1 change: 1 addition & 0 deletions test/ShardingCore.Test2x/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void ConfigureServices(IServiceCollection services, HostBuilderContext ho
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
op.UseShardingQuery((conStr, builder) =>
Expand Down
1 change: 1 addition & 0 deletions test/ShardingCore.Test3x/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void ConfigureServices(IServiceCollection services, HostBuilderContext ho
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
op.UseShardingQuery((conStr, builder) =>
Expand Down
1 change: 1 addition & 0 deletions test/ShardingCore.Test5x/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void ConfigureServices(IServiceCollection services, HostBuilderContext ho
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
Expand Down
1 change: 1 addition & 0 deletions test/ShardingCore.Test6x/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public void ConfigureServices(IServiceCollection services, HostBuilderContext ho
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//op.UseEntityFrameworkCoreProxies = true;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
Expand Down

0 comments on commit 9de612b

Please sign in to comment.