public override int GetHashCode() { unchecked { const int hashBase = (int)2166136261; const int multiplier = 16777619; int hash = hashBase; hash = (hash * multiplier) ^ (LearnerReferenceNumber is null ? 0 : LearnerReferenceNumber.GetHashCode()); hash = (hash * multiplier) ^ (PlannedEndDate is null ? 0 : PlannedEndDate.GetHashCode()); hash = (hash * multiplier) ^ LearningStartDate.GetHashCode(); hash = (hash * multiplier) ^ (ProviderName is null ? 0 : ProviderName.GetHashCode()); hash = (hash * multiplier) ^ ProviderUkPrn.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked { const int hashBase = (int)2166136261; const int multiplier = 16777619; int hash = hashBase; hash = (hash * multiplier) ^ (CourseOption is null ? 0 : CourseOption.GetHashCode()); hash = (hash * multiplier) ^ (OverallGrade is null ? 0 : OverallGrade.GetHashCode()); hash = (hash * multiplier) ^ (AchievementDate is null ? 0 : AchievementDate.GetHashCode()); hash = (hash * multiplier) ^ LearningStartDate.GetHashCode(); hash = (hash * multiplier) ^ (ProviderName is null ? 0 : ProviderName.GetHashCode()); hash = (hash * multiplier) ^ ProviderUkPrn.GetHashCode(); return(hash); } }