Show / Hide Table of Contents

Interface IDuplicateRule

Common interface for all rules to be used in the duplicate detector system

Namespace: SuperOffice.CRM.Data.Util.Duplicates
Assembly: SoDataBase.dll
Syntax
public interface IDuplicateRule : IPlugin

Properties

DisplayName

Declaration
string DisplayName { get; }
Property Value
Type Description
String

DisplayTooltip

Declaration
string DisplayTooltip { get; }
Property Value
Type Description
String

IsActive

Indicates if this is an active rule that should be asked for duplicates

Declaration
bool IsActive { get; set; }
Property Value
Type Description
Boolean

Name

Declaration
string Name { get; }
Property Value
Type Description
String

Methods

CreateNewEntity(DuplicateEntry)

Create a new entity in the SuperOffice database based on the duplicate

Declaration
int CreateNewEntity(DuplicateEntry entry)
Parameters
Type Name Description
DuplicateEntry entry

Duplicate entry to create entity from

Returns
Type Description
Int32

The primary key of the superoffice entity

GetDuplicates(String[])

Get duplicates based on the specified value

Declaration
DuplicateEntry[] GetDuplicates(params string[] searchValue)
Parameters
Type Name Description
String[] searchValue

Value to use for matching

Returns
Type Description
DuplicateEntry[]

List of detected duplicates

Extension Methods

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