- 恢复 代码 preview 改动,优化补全 CanUpdate false;#1630

This commit is contained in:
2881099
2023-10-10 03:38:05 +08:00
parent 58f261b5e5
commit 94fa653ec9
5 changed files with 56 additions and 301 deletions

View File

@ -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)
return ups.Length == data.Count ? -998 : -997;
var update = this.OrmUpdate(data.Select(a => a.Value)).IgnoreColumns(cuig);