Creating a new Turbo Import case |
How to create a new case using the Integration Library
Note |
---|
Before following this example, create the LAW case using the LAW application. |
This example creates a new case.
using LexisNexis.EdaIntegration; class Sample { public static void Main() { // Initialize the environment string LawMgmtConnectionString = @"Data Source=localhost;Initial Catalog=LAW5_Management;Integrated Security=False;User ID=myUserId;Password=myPassword"; EdaIntegration edaIntegration = new EdaIntegration(); edaIntegration.InitializeEnvironment(LawMgmtConnectionString); // Create the case // Note that the returned case has additional values filled in from the // creation process such as its id and date created Case tiCase = edaIntegration.Cases.Create(CaseProcessingType.TurboImport, @"My New Case"); // Display some basic information about the new case Console.WriteLine("Uuid: " + tiCase.Id); Console.WriteLine("Name: " + tiCase.Name); Console.WriteLine("Directory: " + tiCase.CaseDirectory); } }
Id: 0504c9ad-bb89-445a-a2f4-045cfb459db2 Name: My New Case