EntityCoreTFieldsGetHashCode Method |
Overrides the GetHashCode method. It will calculate a hashcode for this entity using the eXclusive OR of the
hashcodes of the primary key fields in this entity. 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.4.0.0 (5.4.0)
Syntax public override int GetHashCode()
Public Overrides Function GetHashCode As Integer
Return Value
Type:
Int32Hashcode for this entity object, based on its primary key field values
See Also