I am trying to add an Attribute to each of my DTO properties like this:
[Column(Order = 1]
public string Prop1 {get; set;}
[Column(Order = 2]
public string Prop2 {get; set;}
Is is possible to do this in a macro at project Settings level?
I was trying something like this, but could not figure out if it is possible to access an index value for a field (in the project settings for 'DereivedElementFieldScalar'):
Column(Order = $fieldIndex)
but no joy as of yet. Is there a simple way to achieve this?
Thanks,
Iain