예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = LearnerUln.GetHashCode();
         hashCode = (hashCode * 397) ^ (PriceEpisodeIdentifierForComparison != null ? PriceEpisodeIdentifierForComparison.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Ukprn.GetHashCode();
         hashCode = (hashCode * 397) ^ ContractType;
         hashCode = (hashCode * 397) ^ TransactionType;
         hashCode = (hashCode * 397) ^ SfaContributionPercentageToCompare.GetHashCode();
         hashCode = (hashCode * 397) ^ AmountToCompare.GetHashCode();
         hashCode = (hashCode * 397) ^ CollectionPeriod;
         hashCode = (hashCode * 397) ^ AcademicYear;
         hashCode = (hashCode * 397) ^ DeliveryPeriod;
         hashCode = (hashCode * 397) ^ (LearnerReferenceNumber != null ? LearnerReferenceNumber.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LearningAimReference != null ? LearningAimReference.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ProgrammeType.GetHashCode();
         hashCode = (hashCode * 397) ^ StandardCode.GetHashCode();
         hashCode = (hashCode * 397) ^ FrameworkCode.GetHashCode();
         hashCode = (hashCode * 397) ^ PathwayCode.GetHashCode();
         hashCode = (hashCode * 397) ^ (LearningAimFundingLineType != null ? LearningAimFundingLineType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ AccountId.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (LearnerReferenceNumber != null ? LearnerReferenceNumber.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Ukprn.GetHashCode();
         hashCode = (hashCode * 397) ^ (PriceEpisodeIdentifier != null ? PriceEpisodeIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DeliveryPeriod;
         hashCode = (hashCode * 397) ^ LearningAimProgrammeType.GetHashCode();
         hashCode = (hashCode * 397) ^ LearningAimFrameworkCode.GetHashCode();
         hashCode = (hashCode * 397) ^ LearningAimPathwayCode.GetHashCode();
         hashCode = (hashCode * 397) ^ LearningAimStandardCode.GetHashCode();
         hashCode = (hashCode * 397) ^ SfaContributionPercentage.GetHashCode();
         hashCode = (hashCode * 397) ^ (LearningAimFundingLineType != null ? LearningAimFundingLineType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LearningAimReference != null ? LearningAimReference.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ TransactionType01.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType02.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType03.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType04.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType05.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType06.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType07.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType08.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType09.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType10.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType11.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType12.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType13.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType14.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType15.GetHashCode();
         hashCode = (hashCode * 397) ^ TransactionType16.GetHashCode();
         hashCode = (hashCode * 397) ^ ContractType;
         hashCode = (hashCode * 397) ^ AgreedPrice.GetHashCode();
         return(hashCode);
     }
 }