Updated ToObjectProcedure methods in Insert*Procedure records to use null as the default value for the addedWho parameter instead of "Rec.API". This affects InsertActionProcedure, InsertEndpointAuthProcedure, InsertEndpointParamsProcedure, InsertEndpointProcedure, and InsertProfileProcedure.
20 lines
613 B
C#
20 lines
613 B
C#
namespace ReC.Application.Common.Procedures.InsertProcedure;
|
|
|
|
public record InsertEndpointParamsProcedure : IInsertProcedure
|
|
{
|
|
public bool? Active { get; set; }
|
|
public string? Description { get; set; }
|
|
public short? GroupId { get; set; }
|
|
public byte? Sequence { get; set; }
|
|
public string? Key { get; set; }
|
|
public string? Value { get; set; }
|
|
|
|
public InsertObjectProcedure ToObjectProcedure(string? addedWho = null)
|
|
{
|
|
return new InsertObjectProcedure
|
|
{
|
|
Entity = "ENDPOINT_PARAMS",
|
|
EndpointParams = this
|
|
}.AddedBy(addedWho);
|
|
}
|
|
} |