File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
samples/Sample.BulkConsole
test/ShardingCore.Test2x/Domain/Maps Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11:start
22:: 定义版本
3- set SHARDINGCORE = 6.7.0.2
3+ set SHARDINGCORE = 6.7.0.3
44
55:: 删除所有bin与obj下的文件
66@ echo off
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
55 <TargetFramework >net6.0</TargetFramework >
66 </PropertyGroup >
77 <ItemGroup >
88 <PackageReference Include =" EFCore.BulkExtensions" Version =" 6.5.6" />
9- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 6.0.8 " />
9+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 6.0.10 " />
1010 <PackageReference Include =" Microsoft.Extensions.Logging.Console" Version =" 6.0.0" />
1111 </ItemGroup >
1212 <ItemGroup >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class SysUserModMap:IEntityTypeConfiguration<SysUserMod>
1515 public void Configure ( EntityTypeBuilder < SysUserMod > builder )
1616 {
1717 builder . HasKey ( o => o . Id ) ;
18- builder . Property ( o => o . Id ) . IsRequired ( ) . HasMaxLength ( 128 ) ;
18+ builder . Property ( o => o . Id ) . ValueGeneratedNever ( ) . IsRequired ( ) . HasMaxLength ( 128 ) ;
1919 builder . Property ( o => o . Name ) . HasMaxLength ( 128 ) ;
2020 builder . ToTable ( nameof ( SysUserMod ) ) ;
2121 }
You can’t perform that action at this time.
0 commit comments