Make Info non-nullable in InsertResultCommand
Changed the Info property from short? to short in InsertResultCommand, making it a required field and ensuring it cannot be null. This enforces that all InsertResultCommand instances must provide a value for Info.
This commit is contained in:
@@ -11,7 +11,7 @@ public record InsertResultCommand : IInsertProcedure
|
|||||||
public required RecStatus Status { get; set; }
|
public required RecStatus Status { get; set; }
|
||||||
public string? Header { get; set; }
|
public string? Header { get; set; }
|
||||||
public string? Body { get; set; }
|
public string? Body { get; set; }
|
||||||
public short? Info { get; set; }
|
public short Info { get; set; }
|
||||||
public string? InfoDetail { get; set; }
|
public string? InfoDetail { get; set; }
|
||||||
public string? Error { get; set; }
|
public string? Error { get; set; }
|
||||||
public required ResultType Type { get; set; }
|
public required ResultType Type { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user