EntityDAC
Compares its own value with AValue.
If Self = AValue - returns '0';
If Self > AValue - returns '1';
If Self < AValue - returns '-1';