升级发布6.7.0.3

This commit is contained in:
xuejiaming 2022-10-13 20:19:43 +08:00
parent 734e075182
commit 07928d9cb2
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
:start
::定义版本
set SHARDINGCORE=6.7.0.2
set SHARDINGCORE=6.7.0.3
::删除所有bin与obj下的文件
@echo off

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="EFCore.BulkExtensions" Version="6.5.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.10" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
</ItemGroup>
<ItemGroup>

View File

@ -15,7 +15,7 @@ namespace ShardingCore.Test2x.Domain.Maps
public void Configure(EntityTypeBuilder<SysUserMod> builder)
{
builder.HasKey(o => o.Id);
builder.Property(o => o.Id).IsRequired().HasMaxLength(128);
builder.Property(o => o.Id).ValueGeneratedNever().IsRequired().HasMaxLength(128);
builder.Property(o => o.Name).HasMaxLength(128);
builder.ToTable(nameof(SysUserMod));
}