Add Reference1-5 properties to InsertResultCommand
Added five optional string properties (Reference1-5) to the InsertResultCommand record to support storing additional reference information with each command instance. This enhances flexibility for passing extra data as needed.
This commit is contained in:
@@ -14,6 +14,11 @@ public record InsertResultCommand : IInsertProcedure
|
|||||||
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; }
|
||||||
|
public string? Reference1 { get; set; }
|
||||||
|
public string? Reference2 { get; set; }
|
||||||
|
public string? Reference3 { get; set; }
|
||||||
|
public string? Reference4 { get; set; }
|
||||||
|
public string? Reference5 { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class InsertResultProcedureHandler(ISender sender) : IRequestHandler<InsertResultCommand, long>
|
public class InsertResultProcedureHandler(ISender sender) : IRequestHandler<InsertResultCommand, long>
|
||||||
|
|||||||
Reference in New Issue
Block a user