I have a string message like this: 8=ABCD 5=DCBA 88=2 39=D
And i have an entity:
public class Order : Entity {
public string Account {get;set;}
public char Type {get;set;}
public string Status {get;set;}
public string Something {get;set;}
}
And each attribute of the entity is equal to a number of the string pattern
8 = Account;
5 = Type;
88 = Status;
39 = Something;
I need to parse the string pattern to Order entity.
Anyone knows a solution to do this? without a loop or something like