Oct 21, 2014 12:31 PM|Martin0|LINK
I've got an enum declared like so:
public enum MyEnum
The numeric values are stored in a database.
My problem is that on the client side (proxy auto generated code) the enum no longer has the non-default values assigned. Therefore it effectively becomes:
But the value that actually travels across the http wire is the numeric! So all the values become misinterpreted(!!!!)
I need the database to record numeric, and either the proxy code to retain the non-default values, or for the http to pass the labels instead of the values.
Any tips much appreciated.