NearDuplicatePropertiesNearDupeEnabled Property |
Namespace: Law.EdaIntegration.NearDuplicate
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 */