bool IsValidClientValue(string clientValue)
Returns true if an instance corresponding to a given client value exists.
Name | Description |
---|---|
string clientValue | The client value. |
cEnumeration enumOrderSupplyType = cEnumeration.Get("OrderSupplyType"); // Validate the text in the field dfsSupplyType and exit if it's not a valid one! bool isValidClientValue = enumOrderSupplyType.IsValidClientValue(dfsSupplyType.Text); if (!isValidClientValue) return;
This is equivalent client method to the database domain function <Domain>_API.Exists(client_value_ IN VARCHAR2) RETURN BOOLEAN