Class ContactSoundExDuplicateRule
Match contacts by soundex value
Inherited Members
Namespace: SuperOffice.CRM.Data.Util.Duplicates
Assembly: SoDataBase.dll
Syntax
[ContactDuplicateRulePlugin("ContactSoundExDuplicateRule")]
public class ContactSoundExDuplicateRule : IContactDuplicateRule, IDuplicateRule
Constructors
ContactSoundExDuplicateRule()
Match contacts by soundex value
Declaration
public ContactSoundExDuplicateRule()
Properties
DisplayName
Display name of rule
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
string |
DisplayTooltip
Description of rule
Declaration
public string DisplayTooltip { get; }
Property Value
Type | Description |
---|---|
string |
IsActive
Indicates if this is an active rule that should be asked for duplicates
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Unique identifying name for rule
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateNewEntity(DuplicateEntry)
This operation is not supported for this rule
Declaration
public int CreateNewEntity(DuplicateEntry entry)
Parameters
Type | Name | Description |
---|---|---|
DuplicateEntry | entry | Entry to create contact from |
Returns
Type | Description |
---|---|
int | Primary key of contact from superoffice database |
GetDuplicates(params string[])
Get matching records in the superoffice database, using a soundex value
Declaration
public DuplicateEntry[] GetDuplicates(params string[] contactName)
Parameters
Type | Name | Description |
---|---|---|
string[] | contactName | Name of contact to lookup |
Returns
Type | Description |
---|---|
DuplicateEntry[] | Any duplicates found in the database |