Add support for five new RESULT_REFERENCE parameters
Added pRESULT_REFERENCE1 through pRESULT_REFERENCE5 to the procedure handler, mapping them from the corresponding Reference1-5 properties in request.Result. This enables passing additional reference data to the stored procedure.
This commit is contained in:
@@ -83,6 +83,11 @@ public class InsertObjectProcedureHandler(IRepository repo, IOptionsMonitor<SqlE
|
|||||||
.Add("pRESULT_INFO", request.Result?.Info)
|
.Add("pRESULT_INFO", request.Result?.Info)
|
||||||
.Add("pRESULT_INFO_DETAIL", request.Result?.InfoDetail)
|
.Add("pRESULT_INFO_DETAIL", request.Result?.InfoDetail)
|
||||||
.Add("pRESULT_ERROR", request.Result?.Error)
|
.Add("pRESULT_ERROR", request.Result?.Error)
|
||||||
|
.Add("pRESULT_REFERENCE1", request.Result?.Reference1)
|
||||||
|
.Add("pRESULT_REFERENCE2", request.Result?.Reference2)
|
||||||
|
.Add("pRESULT_REFERENCE3", request.Result?.Reference3)
|
||||||
|
.Add("pRESULT_REFERENCE4", request.Result?.Reference4)
|
||||||
|
.Add("pRESULT_REFERENCE5", request.Result?.Reference5)
|
||||||
.Add("pENDPOINT_PARAMS_ACTIVE", request.EndpointParams?.Active)
|
.Add("pENDPOINT_PARAMS_ACTIVE", request.EndpointParams?.Active)
|
||||||
.Add("pENDPOINT_PARAMS_DESCRIPTION", request.EndpointParams?.Description)
|
.Add("pENDPOINT_PARAMS_DESCRIPTION", request.EndpointParams?.Description)
|
||||||
.Add("pENDPOINT_PARAMS_GROUP_ID", request.EndpointParams?.GroupId, SqlDbType.SmallInt)
|
.Add("pENDPOINT_PARAMS_GROUP_ID", request.EndpointParams?.GroupId, SqlDbType.SmallInt)
|
||||||
|
|||||||
Reference in New Issue
Block a user