FieldUtilitiesValuesAreEqual Method |
Compares the two values passed in and checks if they're value-wise the same. This extends 'Equals' in the sense that if the values are
arrays it considers them the same if the values of the arrays are the same as well and the length is the same.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static bool ValuesAreEqual(
Object value1,
Object value2
)
Public Shared Function ValuesAreEqual (
value1 As Object,
value2 As Object
) As Boolean
Parameters
- value1
- Type: SystemObject
- value2
- Type: SystemObject
Return Value
Type:
Booleantrue if the values should be considered equal. If value1 or value2 are null and the other isn't false is returned. If both are null,
true is returned.
Remarks It assumes the types of value1 and value2 are the same
See Also