Click or drag to resize
AutomaticContactMerger Class
Class for automatic contact merging. Merges similar contacts together - can merge site contacts based on given columns, then global contacts based on given columns, then merge those two together.
Inheritance Hierarchy

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
public class AutomaticContactMerger : IEquatable<AutomaticContactMerger>

The AutomaticContactMerger type exposes the following members.

Protected methodAllowMergeToGlobal
Decides whether contacts should be merged to a global contact or not.
Protected methodAllowMergeWithinSite
Decides whether contacts should be merged within a site or not.
Public methodContactIsMergedByColumn
Checks if automatic contact merging is based on given contact column.
Protected methodCreateGlobalContact
Creates a global version of given contact.
Public methodEquals
Compares object with another for equality.
Protected methodGetWhereCondition
Gets where condition used to get contacts similar to given one (without site ID).
Protected methodMergeGlobals
Merges global contacts to a best fitting based on CMSSelectGlobalContactBy global setting.
Protected methodMergeWithinSite
Merges contacts within a site. Decides to which one to merge by CMSContactForVisitor site setting.
Public methodRun
Runs the merge itself. Merges contact with contacts with same values in columns specified in sameColumns parameter.
See Also