I have:
class TableEntity
{
public string PartitionKey {get; set;}
public string RowKey {get; set;}
}
class MyEntity : TableEntity
{
[JsonProperty(PropertyName = "myAFieldName")]
public string AField {get; set;}
}
TableEntity is part of an external library, I cannot add attributes to it.
I want to set the JsonProperty of the PartitionKey & RowKey to: "GroupID" & "ItemID", in part to hide the implementation from being exposed through JSON.
How can I do this?