Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }