Here\'s my problem. A class which defines an order has a property called PaymentStatus
, which is an enum
defined like so:
public en
Just suggestions...
I remember that in WCF you have to mark enums with special attributes: http://msdn.microsoft.com/en-us/library/aa347875.aspx
Also, when you declare PaymentStatuses? PaymentStatus
, you are declaring Nullable
. The ?
sintax is just syntactic sugar. Try to remove the ?
and see what happen (you could add a PaymentStatuses.NoSet = 0 , because the default value for an Int32 is 0).
Good luck.