Key.Format() seems to return different strings for the same entity depending on the situation : the type part may change from precise type to base type. A very simple feature request : would it be possible to create a method like Key.Format() that always outputs the same string for a given entity? This would allow easy integration for applications like a WCF service that transmit the key for later use. Regards, Updated at 09.06.2010 8:18:28Thanks for your reply. I use a workaround : please tell me when this is fixed so that I can remove it. Updated at 14.06.2010 8:45:25Thanks! This thread was imported from our support forum. The original discussion may contain more detailed answer. |
That's actually a bit strange - likely, a bug. It should really return the same string in any case.
So we'll check this ASAP.
Definitely a bug.
The Key.Format() method relies on the TypeRef member which in turn is a reference to TypeInfo with various degrees of accuracy.
Not to mention odd usage of 'cachedFormatResult' field there...
Done. Updated installers will be published in nearly 1 day.