Creation of ADO Connection
This commit is contained in:
@ -2,8 +2,9 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.json.WIQL;
|
||||
|
||||
public class SortColumn
|
||||
internal class SortColumn
|
||||
{
|
||||
|
||||
[JsonConstructor]
|
||||
public SortColumn(
|
||||
Field field,
|
||||
@ -14,6 +15,13 @@ public class SortColumn
|
||||
Descending = descending;
|
||||
}
|
||||
|
||||
public Field Field { get; set; } // { init; get; }
|
||||
public bool Descending { get; set; } // { init; get; }
|
||||
[JsonPropertyName("field")] public Field Field { get; }
|
||||
[JsonPropertyName("descending")] public bool Descending { get; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(SortColumn))]
|
||||
internal partial class SortColumnSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user