Click or drag to resize

CaseManagerUpdate Method

Updates Early Data Analyzer with any changed values for the case

Namespace:  Law.EdaIntegration.Case
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax
C#
public void Update(
	Case theCase
)

Parameters

theCase
Type: Law.EdaIntegration.CaseCase
The case containing the updated data to save
Examples
This example demonstrates how to modify descriptive information about a case.
C#
using Law.EdaIntegration;
using Law.EdaIntegration.Case;

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);

        // Open the case that needs to be modified.
        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 2");

        // Update the information on the case that needs to be changed and save it.
        edaCase.Description = "An updated description for case 2";
        edaCase.Client = "Client 54";
        edaIntegration.Cases.Update(edaCase);

        // Display the updated values.
        Console.WriteLine("Name: " + edaCase.Name);
        Console.WriteLine("Client: " + edaCase.Client);
        Console.WriteLine("Description: " + edaCase.Description);
        Console.WriteLine("Last Accessed: " + edaCase.LastAccessed);
    }
}
/*
This example produces the following results:

   Name: Case 2
   Client: Client 54
   Description: An updated description for case 2
   Last Accessed: 6/29/2014 09:23:12 AM
 */
See Also