LongNvlExpression is used specify how to treat a NULL value in a Long property (or field or variable). If the Long appears to be NULL, it will be assigned a default value or a specified value.
public ReadOnlyLongProperty LongNvlExample
{
get
{
return CalculatedLongProperty(() =>
Operation.EditItem.Number.Nvl());
}
}
The example above works as follows.
LongNvlExample.Operation.EditItem.Number is evaluated, by adding .Nvl.LongNvlExample will be assigned the value after Nvl between parentheses. When nothing is specified, the default value will be zero (0).
Article ID: 318
Created: Thu, Dec 5, 2019
Last Updated: Mon, Jan 13, 2020
Online URL: https://wiki-ai-framework.abstract-it.nl/article/longnvlexpression-318.html