Show / Hide Table of Contents

Class ContactNameDepartmentDuplicateRule

Match contacts by name

Inheritance
Object
ContactNameDepartmentDuplicateRule
Implements
IContactDepartmentDuplicateRule
IDuplicateRule
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data.Util.Duplicates
Assembly: SoDataBase.dll
Syntax
[ContactDepartmentDuplicateRulePlugin("ContactNameDepartmentDuplicateRule")]
public class ContactNameDepartmentDuplicateRule : IContactDepartmentDuplicateRule, IDuplicateRule, IPlugin

Constructors

ContactNameDepartmentDuplicateRule()

Declaration
public ContactNameDepartmentDuplicateRule()

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
Boolean

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
Int32

Primary key of contact from superoffice database

GetDuplicates(String[])

Get matching records in the superoffice database, using a soundex value

Declaration
public DuplicateEntry[] GetDuplicates(params string[] contactNameDepartment)
Parameters
Type Name Description
String[] contactNameDepartment
Returns
Type Description
DuplicateEntry[]

Any duplicates found in the database

Implements

IContactDepartmentDuplicateRule
IDuplicateRule

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top