Add pRESULT_BATCH_ID parameter to insert procedure
Added support for the pRESULT_BATCH_ID parameter in the database command, allowing the batch ID from request.Result?.References?.BatchId to be included when inserting objects. This enables tracking and referencing of batch operations.
This commit is contained in:
@@ -83,6 +83,7 @@ public class InsertObjectProcedureHandler(IRepository repo, IOptionsMonitor<SqlE
|
||||
.Add("pRESULT_INFO_ID", request.Result?.Info, SqlDbType.SmallInt)
|
||||
.Add("pRESULT_INFO_DETAIL", request.Result?.InfoDetail)
|
||||
.Add("pRESULT_ERROR", request.Result?.Error)
|
||||
.Add("pRESULT_BATCH_ID", request.Result?.References?.BatchId)
|
||||
.Add("pRESULT_REFERENCE1", request.Result?.References?.Reference1)
|
||||
.Add("pRESULT_REFERENCE2", request.Result?.References?.Reference2)
|
||||
.Add("pRESULT_REFERENCE3", request.Result?.References?.Reference3)
|
||||
|
||||
Reference in New Issue
Block a user