EDMI: Move Object Status changes into Service

This commit is contained in:
Jonathan Jenne
2022-03-29 14:27:31 +02:00
parent 615666f040
commit abff7fa745
6 changed files with 31 additions and 22 deletions

View File

@@ -2,6 +2,7 @@
Imports DigitalData.Modules.Database
Imports DigitalData.Services.EDMIService.IDB
Imports System.Data.SqlClient
Imports DigitalData.Modules.Base.IDB
Namespace Methods.IDB.SetAttributeValue
Public Class SetAttributeValueMethod
@@ -34,6 +35,8 @@ Namespace Methods.IDB.SetAttributeValue
Logger.Debug("Attribute value set!")
Helpers.SetObjectState(pData.ObjectId, FileStore.OBJECT_STATE_FILE_CHANGED, pData.Who)
' Finally, commit the transaction
Transaction?.Commit()