Array of complex data into FixedLengthRecord - how ?
ch0mik opened this issue · 1 comments
ch0mik commented
`
[FixedLengthRecord(FixedMode.AllowLessChars)]
public class Customer
{
[FieldFixedLength(5)]
public int CustId;
[FieldFixedLength(30)]
[FieldTrim(TrimMode.Both)]
public string Name;
[FieldFixedLength(8)]
[FieldConverter(ConverterKind.DateMultiFormat, "ddMMyyyy", "MMyyyy")]
public DateTime AddedDate;
[???]
public Address[] Adresses
}`
`[FixedLengthRecord(FixedMode.AllowLessChars)]
public class Address
{
[FieldFixedLength(5)]
public int AddId;
[FieldFixedLength(30)]
public string City;
[FieldFixedLength(30)]
public string Street;
[FieldFixedLength(8)]
public string Number;
}`
What I should make into Attributes for this part of class (array of Address[] class)
[???]
public Address[] Adresses
ianpowell2017 commented
I found this useful when I had the problem