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 Column
|
||||
internal class Column
|
||||
{
|
||||
|
||||
[JsonConstructor]
|
||||
public Column(
|
||||
string referenceName,
|
||||
@ -16,7 +17,14 @@ public class Column
|
||||
Url = url;
|
||||
}
|
||||
|
||||
public string ReferenceName { get; set; } // { init; get; }
|
||||
public string Name { get; set; } // { init; get; }
|
||||
public string Url { get; set; } // { init; get; }
|
||||
[JsonPropertyName("referenceName")] public string ReferenceName { get; }
|
||||
[JsonPropertyName("name")] public string Name { get; }
|
||||
[JsonPropertyName("url")] public string Url { get; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(Column))]
|
||||
internal partial class ColumnSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user