Decode

string Decode(string dbValue)

Returns the client representation of a domain value given the database value in current language.

Parameters

Name Description
string dbValue The database value.

Example

protected override void OnPamCreate()
{
   base.OnPamCreate();

   // Fetch all IID information for OrderSupplyType.
   cEnumeration enumOrderSupplyType = cEnumeration.Get("OrderSupplyType");
   string clientValueIO = enumOrderSupplyType.Decode("IO");
   ...
}

Returns

The client value.