CustodianManagerAll Method |
Namespace: Law.EdaIntegration.Import
using Law.EdaIntegration; using Law.EdaIntegration.Case; using Law.EdaIntegration.Import; 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"); foreach (Custodian custodian in edaCase.Custodians.All()) { Console.WriteLine("Id: " + custodian.Id); Console.WriteLine("Name: " + custodian.Name); } } } /* This example produces the following results: Id: 1 Name: Custodian 1 Id: 2 Name: Custodian 2 Id: 3 Name: Custodian 3 */