FieldUtilitiesCalculateHashCodeForValue Method (Object) |
Calculates the hashcode for value passed in. If the value is null, the hashcode of DBNull.Value is used. If the value is an array,
the hashcode is calculated from the individual values: if the length is larger than 65535, or not a byte array, each value's hashcode is xorred with the
previous one. If the value is a byte array and the length is equal or smaller than 65535, all values are added, multiplied with the index.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public static int CalculateHashCodeForValue(
Object value
)
Public Shared Function CalculateHashCodeForValue (
value As Object
) As Integer
Parameters
- value
- Type: SystemObject
The value which hashcode has to be calculated.
Return Value
Type:
Int32the hashcode for the value passed in
See Also