Add foundational types for DEX job execution: Constants: - ErrorAction enum (Ignore, Stop) for error handling strategy DTOs: - CheckQueryResult: check query execution result with ReturnValue - MainQueryResult: main query execution result with ReturnValue Interfaces: - ISQLExecutor: abstraction for SQL query execution and DTO mapping All types include comprehensive XML documentation
17 lines
430 B
C#
17 lines
430 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ECMJobRunner.Application.Common.Dtos
|
|
{
|
|
/// <summary>
|
|
/// Result of a check query execution
|
|
/// </summary>
|
|
public class CheckQueryResult
|
|
{
|
|
/// <summary>
|
|
/// Return value from the check query (expected: > 0 for success)
|
|
/// </summary>
|
|
[Column("Return Value")]
|
|
public int? ReturnValue { get; set; }
|
|
}
|
|
}
|