void ExistDbValue(string dbValue)
Checks if an instance corresponding to a given database value exists. If not, an exception will be raised.
Name | Description |
---|---|
string dbValue | The database value. |
cEnumeration enumOrderSupplyType = cEnumeration.Get("OrderSupplyType"); // Validate the code in the field dfsSupplyTypeDb and raise an exception is it's not valid! enumOrderSupplyType.ExistDbValue(dfsSupplyTypeDb.Text);
This is equivalent client method to the database domain method <Domain>_API.Exist_Db(db_value_ IN VARCHAR2)