Ejemplo n.º 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);
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Ukprn.GetHashCode();
         hashCode = (hashCode * 397) ^ StringComparer.OrdinalIgnoreCase.GetHashCode(LearnRefNumber);
         hashCode = (hashCode * 397) ^ AimSeqNumber;
         return(hashCode);
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = 31 * hash + Ukprn.GetHashCode();
         hash = 31 * hash + PaymentType.GetHashCode();
         hash = 31 * hash + Period.GetHashCode();
         //hash = 31 * hash + SubmissionId.GetHashCode();
         return(hash);
     }
 }
Ejemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Ukprn.GetHashCode();
         hashCode = (hashCode * 397) ^ Uln.GetHashCode();
         hashCode = (hashCode * 397) ^ (FundingLineType != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(FundingLineType) : 0);
         hashCode = (hashCode * 397) ^ ContractType;
         hashCode = (hashCode * 397) ^ DeliveryPeriod;
         hashCode = (hashCode * 397) ^ TransactionType;
         hashCode = (hashCode * 397) ^ Amount.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Ukprn != null ? Ukprn.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)ProviderType;
         hashCode = (hashCode * 397) ^ ContractedForNonLeviedEmployers.GetHashCode();
         hashCode = (hashCode * 397) ^ ParentCompanyGuarantee.GetHashCode();
         hashCode = (hashCode * 397) ^ NewOrganisationWithoutFinancialTrackRecord.GetHashCode();
         hashCode = (hashCode * 397) ^ StartDate.GetHashCode();
         hashCode = (hashCode * 397) ^ EndDate.GetHashCode();
         hashCode = (hashCode * 397) ^ ApplicationDeterminedDate.GetHashCode();
         hashCode = (hashCode * 397) ^ CurrentlyNotStartingNewApprentices.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);
     }
 }