public static bool MatchesEarning(this PriceEpisodePeriodMatchEntity source, RawEarning rhs) { return(source.AimSeqNumber == rhs.AimSeqNumber && source.LearnRefNumber == rhs.LearnRefNumber && source.PriceEpisodeIdentifier == rhs.PriceEpisodeIdentifier && source.Ukprn == rhs.Ukprn && source.Period == rhs.Period); }
public static bool MatchesCommitment(this PriceEpisodePeriodMatchEntity source, DasCommitment rhs) { return(source.CommitmentId == rhs.CommitmentId && source.VersionId == rhs.VersionId); }