public override int GetHashCode() { int result = 1; result = (result * 397) ^ CurrentYear.GetHashCode(); result = (result * 397) ^ Id.GetHashCode(); result = (result * 397) ^ (RegistrationNumber != null ? RegistrationNumber.GetHashCode() : 0); result = (result * 397) ^ (Remark != null ? Remark.GetHashCode() : 0); result = (result * 397) ^ StudentStatus.GetHashCode(); result = (result * 397) ^ (StudentNumber != null ? StudentNumber.GetHashCode() : 0); result = (result * 397) ^ CurrentCGPA.GetHashCode(); result = (result * 397) ^ CurrentCTCU.GetHashCode(); result = (result * 397) ^ CurrentAward.GetHashCode(); return(result); }
public override int GetHashCode() { unchecked { var hashCode = Created.GetHashCode(); hashCode = (hashCode * 397) ^ (Office != null ? Office.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RegistrationNumber != null ? RegistrationNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographMake != null ? TachographMake.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TachographModel != null ? TachographModel.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SerialNumber != null ? SerialNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ InspectionDate.GetHashCode(); hashCode = (hashCode * 397) ^ (Technician != null ? Technician.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CustomerContact != null ? CustomerContact.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DepotName != null ? DepotName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CompanyName != null ? CompanyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ UserId; hashCode = (hashCode * 397) ^ Uploaded.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(RegistrationNumber != null?RegistrationNumber.GetHashCode() : 0); }
public override int GetHashCode() { return(RegistrationNumber.GetHashCode()); }