CaseManagerByClient Method |
Namespace: Law.EdaIntegration.Case
public IEnumerable<CaseListing> ByClient( string clientName )
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); string client = "Client 456"; foreach (CaseListing edaCase in edaIntegration.Cases.ByClient(client)) { Console.WriteLine("Case name: {0}", edaCase.Name); Console.WriteLine("Client: {0}", edaCase.Client); Console.WriteLine(); } } } /* This example produces the following results: Case name: Case 2 Client: Client 456 Case name: Case 3 Client: Client 456 */