Click or drag to resize

NearDuplicatePropertiesNearDupeEnabled Property

Determines whether near-duplicate analysis is enabled for the case.

Namespace:  Law.EdaIntegration.NearDuplicate
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public bool NearDupeEnabled { get; set; }

Property Value

Type: Boolean
Remarks
When near-duplicate analysis is enabled for a case, the near-duplicate processing will automatically start if the system detects that near-duplicate analysis has never run on the case or if there are changes to the case's current data since the last time the analysis ran. Examples of changes that could cause near-duplicate analysis to be run include the import of additional documents, deletion of case documents, and changes to the Comparison Threshold or Footer Exclusions settings.
Examples
This example demonstrates how to set and retrieve the NearDupeEnabled property.
C#
using Law.EdaIntegration;

class Sample
{
    public static void Main()
    {
        string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
        EdaIntegration edaIntegration = new EdaIntegration();
        edaIntegration.InitializeEnvironment(connectionString);

        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Set the NearDupeEnabled value
        edaCase.NearDuplicates.Properties.NearDupeEnabled = true;

        // Save the changes to the case
        edaCase.NearDuplicates.UpdateProperties();

        // Get the value
        Console.WriteLine("NearDupeEnabled: {0}", edaCase.NearDuplicates.Properties.NearDupeEnabled);
    }
}
/*
This example produces the following results:

NearDupeEnabled: True
 */
See Also