Property HasChanged
HasChanged
HasChanged bool flag is set true if an item is updated and it also needs to be updated in the cache.
Declaration
public abstract bool HasChanged { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Specifies a boolean value either true, or false. |
Examples
public override bool HasChanged
{
get
{
if (GetAvailableUnits(_productID) == 100)
return true;
return false;
}
}