发布7.x.0.7

This commit is contained in:
xuejiaming 2022-11-26 10:22:12 +08:00
parent 3a1616918b
commit 9de612b37f
11 changed files with 15 additions and 10 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -56,6 +56,7 @@ namespace ShardingCore.Test
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//op.UseEntityFrameworkCoreProxies = true;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;

View File

@ -51,6 +51,7 @@ namespace ShardingCore.Test2x
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
op.UseShardingQuery((conStr, builder) =>

View File

@ -55,6 +55,7 @@ namespace ShardingCore.Test3x
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
op.UseShardingQuery((conStr, builder) =>

View File

@ -55,6 +55,7 @@ namespace ShardingCore.Test5x
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;

View File

@ -56,6 +56,7 @@ namespace ShardingCore.Test6x
})
.UseConfig(op =>
{
op.CacheModelLockConcurrencyLevel = Environment.ProcessorCount;
//op.UseEntityFrameworkCoreProxies = true;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;