ImportSetManagerAll 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 (ImportSet importSet in edaCase.Imports.ImportSets.All()) { Console.WriteLine("Label: {0}", importSet.Label); Console.WriteLine("Created: {0}", importSet.Created); Console.WriteLine(); } } } /* This example produces the following results: Label: 2014-06-19-001 Created: 06/19/2004 9:10:22 AM Label: 2014-06-21-001 Created: 06/21/2004 10:13:12 AM Label: 2014-06-21-002 Created: 06/21/2004 6:23:45 PM Label: Local Data Created: 06/21/2004 6:24:19 PM */