Click or drag to resize

IEntityFieldsCoreGetHashCode Method

Overrides the GetHashCode routine. It will calculate a hashcode for this set of entity fields using the eXclusive OR of the hashcodes of the primary key fields in this set of entity fields. That hashcode is returned. If no primary key fields are present, the hashcode of the base class is returned, which will not be unique.

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
int GetHashCode()

Return Value

Type: Int32
Hashcode for this entity object, based on its primary key field values
See Also