Refactored Delete/Insert/UpdateEndpointAuthProcedure records into the new ReC.Application.EndpointAuth.Commands namespace for better organization. Updated using statements in related files to ensure compatibility. No functional changes to the procedure records themselves.
33 lines
796 B
C#
33 lines
796 B
C#
using ReC.Application.Common.Procedures.DeleteProcedure;
|
|
|
|
namespace ReC.Application.EndpointAuth.Commands;
|
|
|
|
public record DeleteEndpointAuthProcedure : 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_AUTH",
|
|
Start = Start,
|
|
End = End,
|
|
Force = Force
|
|
};
|
|
}
|
|
}
|