Click or drag to resize

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.8.0.0 (5.8.21.0111)
Syntax
public static bool ValuesAreEqual(
	Object value1,
	Object value2
)

Parameters

value1
Type: SystemObject
value2
Type: SystemObject

Return Value

Type: Boolean
true 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