public LinkingRuleMatchCollection Match() { LinkingRuleMatchCollection linkingRuleMatchCollection = new LinkingRuleMatchCollection(); base.Match(LinkingRuleMatchNameEnum.Birthdate, this.m_ItemToLink.PBirthdate, this.m_ItemToMatch.PBirthdate, LevensteinDistanceThreshhold, linkingRuleMatchCollection); base.Match(LinkingRuleMatchNameEnum.SSN, this.m_ItemToLink.PSSN, this.m_ItemToMatch.PSSN, LevensteinDistanceThreshhold, linkingRuleMatchCollection); return linkingRuleMatchCollection; }
protected void Match(LinkingRuleMatchNameEnum linkingRuleMatchName, string word1, string word2, int threshhold, LinkingRuleMatchCollection linkingRuleMatchCollection) { LinkingRuleMatch linkingRuleMatch = new LinkingRuleMatch(linkingRuleMatchName); if (this.IsExactMatch(word1, word2) == true) { linkingRuleMatch.IsMatch = true; } linkingRuleMatchCollection.Add(linkingRuleMatch); }
protected void Match(LinkingRuleMatchNameEnum linkingRuleMatchName, Nullable<DateTime> date1, Nullable<DateTime> date2, int threshhold, LinkingRuleMatchCollection linkingRuleMatchCollection) { LinkingRuleMatch linkingRuleMatch = new LinkingRuleMatch(linkingRuleMatchName); if (date2.HasValue == true) { if (date1.Value == date2.Value) { linkingRuleMatch.IsMatch = true; } } linkingRuleMatchCollection.Add(linkingRuleMatch); }