StringNvlExpression is used specify how to treat a NULL value in a String property (or field or variable). If the String appears to be NULL, it will be assigned a default value or a specified value.
public ReadOnlyStringProperty StringNvlExample
{
get
{
return CalculatedStringProperty(() =>
Operation.EditItem.Name.Nvl());
}
}
The example above works as follows.
StringNvlExample.Operation.EditItem.Number is evaluated, by adding .Nvl.StringNvlExample will be assigned the value after Nvl between parentheses. When nothing is specified, the default value will be an empty string "".
Article ID: 342
Created: Thu, Dec 5, 2019
Last Updated: Mon, Jan 13, 2020
Online URL: https://wiki-ai-framework.abstract-it.nl/article/stringnvlexpression-342.html