Introduced six new DTO record classes under ReC.Application.Common.Procedures.UpdateProcedure.Dto to support partial (nullable) updates for Action, Endpoint, EndpointAuth, EndpointParams, Profile, and Result entities. These DTOs enable PATCH-like update operations by allowing selective property updates. No existing code was modified.
18 lines
654 B
C#
18 lines
654 B
C#
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
|
|
|
|
public record UpdateActionDto
|
|
{
|
|
public long? ProfileId { get; set; }
|
|
public bool? Active { get; set; }
|
|
public byte? Sequence { get; set; }
|
|
public long? EndpointId { get; set; }
|
|
public long? EndpointAuthId { get; set; }
|
|
public short? EndpointParamsId { get; set; }
|
|
public short? SqlConnectionId { get; set; }
|
|
public byte? TypeId { get; set; }
|
|
public string? PreSql { get; set; }
|
|
public string? HeaderSql { get; set; }
|
|
public string? BodySql { get; set; }
|
|
public string? PostSql { get; set; }
|
|
public byte? ErrorActionId { get; set; }
|
|
} |