Moved Delete, Insert, and UpdateEndpointParamsProcedure classes from Common.Procedures to EndpointParams.Commands for better organization. Updated related imports in InsertObjectProcedure.cs and UpdateObjectProcedure.cs to reflect the new namespace. No functional changes to the procedures themselves.
33 lines
802 B
C#
33 lines
802 B
C#
using ReC.Application.Common.Procedures.DeleteProcedure;
|
|
|
|
namespace ReC.Application.EndpointParams.Commands;
|
|
|
|
public record DeleteEndpointParamsProcedure : IDeleteProcedure
|
|
{
|
|
/// <summary>
|
|
/// Start GUID/ID (inclusive)
|
|
/// </summary>
|
|
public long Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// End GUID/ID (inclusive). If 0, will be set to Start value.
|
|
/// </summary>
|
|
public long End { get; set; }
|
|
|
|
/// <summary>
|
|
/// If true, delete even if dependent ACTION data exists
|
|
/// </summary>
|
|
public bool Force { get; set; }
|
|
|
|
public DeleteObjectProcedure ToObjectProcedure()
|
|
{
|
|
return new DeleteObjectProcedure
|
|
{
|
|
Entity = "ENDPOINT_PARAMS",
|
|
Start = Start,
|
|
End = End,
|
|
Force = Force
|
|
};
|
|
}
|
|
}
|