I've got some metadata associated with order objects. Since there can be multiple orders any given time, I want to keep the data in a dictionary, with the Order objects as keys.
According to the manual, I mustn't use <IOrder>.OrderId, nor Token, as they will change throughout the order's lifetime.
- s there another field/property in IOrder can use as key?
- Can I use the order itself as key? (namely, does it implement the IEqualityComparer() interface such that no two orders will return the same value - see e.g. here )
Thanks,
Boaz

Comment