CaseManagerUpdate Method |
Namespace: Law.EdaIntegration.Case
public void Update( Case theCase )
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 */