mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
v3.2.802-preview20230928 #1630
This commit is contained in:
@ -404,7 +404,7 @@ namespace FreeSql
|
||||
|
||||
if (data?.Count > 0)
|
||||
{
|
||||
if (cuig.Length == _table.Columns.Count - _table.Primarys.Length)
|
||||
if (cuig.Length >= _table.Columns.Count - _table.Primarys.Length)
|
||||
return ups.Length == data.Count ? -998 : -997;
|
||||
|
||||
var update = this.OrmUpdate(data.Select(a => a.Value)).IgnoreColumns(cuig);
|
||||
|
@ -438,7 +438,7 @@ namespace FreeSql
|
||||
|
||||
if (data?.Count > 0)
|
||||
{
|
||||
if (cuig.Length == _table.Columns.Count - _table.Primarys.Length)
|
||||
if (cuig.Length >= _table.Columns.Count - _table.Primarys.Length)
|
||||
return ups.Length == data.Count ? -998 : -997;
|
||||
|
||||
var update = this.OrmUpdate(data.Select(a => a.Value)).IgnoreColumns(cuig);
|
||||
|
@ -17,7 +17,7 @@
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
|
||||
<DelaySign>false</DelaySign>
|
||||
<Version>3.2.802-preview20230927</Version>
|
||||
<Version>3.2.802-preview20230928</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user