Click or drag to resize

NearDuplicateManagerUpdateProperties Method

Saves the NearDuplicateProperties to the case.

Namespace:  Law.EdaIntegration.NearDuplicate
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public void UpdateProperties()
Remarks
Modifications to the properties are not saved to the case until UpdateProperties is called.
Examples
The following example demonstrates updating the Near Duplicate properties for a case.
C#
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.NearDuplicate;

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.ByName("Case 1");

        // Set the NearDupeComparisonThreshold value
        edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold = 85;

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