protected override Exceptional<Boolean> Compare(ADBBaseObject myLeft, ADBBaseObject myRight) { if (!GraphDBTypeMapper.ConvertToBestMatchingType(ref myLeft, ref myRight).Value) { return new Exceptional<Boolean>(new Error_DataTypeDoesNotMatch(myLeft.Type.ToString(), myRight.Type.ToString())); } return new Exceptional<Boolean>(myLeft.CompareTo(myRight) == 0); }
protected override Exceptional<Boolean> Compare(ADBBaseObject myLeft, ADBBaseObject myRight) { return new Exceptional<Boolean>(myLeft.CompareTo(myRight) >= 0); }