ICaseManagerCreate Method |
Namespace: EdaIntegrationContract
ICase Create( string caseName, string caseDirectory = "", string client = "", string description = "", bool applyDefaultFileTypeFilters = false, string databaseConnectionString = "", Nullable<Guid> caseId = null )
using EdaIntegrationContract; using EdaIntegrationContract.Case; class Sample { public static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); // Values to use for the new case string myCaseName = @"My New Case"; // Create the new case ICase edaCase = edaIntegration.Cases.Create(myCaseName); //Display the returned case Console.WriteLine("Id: " + edaCase.Name); Console.WriteLine("Name: " + edaCase.Name); Console.WriteLine("Directory: " + edaCase.CaseDirectory); } } /* This example produces the following results: Id: f5c3d706-2d5b-4966-b9af-55bb43f3190f Name: My New Case Directory: \\NetworkDrive\EdAnalyzer\Home\cases\My New Case */