Is no update was ignored in repository

This commit is contained in:
2024-07-23 16:10:21 +02:00
parent 0a54a3e7e4
commit 24b0b521a8
2 changed files with 2 additions and 2 deletions

View File

@@ -14553,7 +14553,7 @@ namespace DynamORM
if (pm.Column != null)
{
if (pm.Column.IsKey)
if (pm.Column.IsKey || pm.Column.IsNoUpdate)
continue;
if (!pm.Column.AllowNull && cf.Value == null)

View File

@@ -141,7 +141,7 @@ namespace DynamORM.Objects
if (pm.Column != null)
{
if (pm.Column.IsKey)
if (pm.Column.IsKey || pm.Column.IsNoUpdate)
continue;
if (!pm.Column.AllowNull && cf.Value == null)