EdiEngine icon indicating copy to clipboard operation
EdiEngine copied to clipboard

MapLoop EdiName returning improper name

Open Timallbr opened this issue 5 years ago • 0 comments

When hitting a loop, if the class name has an _# appended to the end, then the name does not match the ediName provided.

Ex., L_N1_1's EdiName would be N1_1 which won't match N1 when checking List<AllowedEntity> inside ProcessRawSegment for the EdiMapReader.

Modified EdiName to be: public override string EdiName => Name.Split('_').Length >= 2 ? Name.Split('_')[1] : Name.Remove(0, 2);

Timallbr avatar Feb 13 '20 20:02 Timallbr