ExportDocumentManagerMarkAsNotReceived Method (IEnumerableInt32) |
Namespace: Law.EdaIntegration.Exports
public void MarkAsNotReceived( IEnumerable<int> documentIds )
using Law.EdaIntegration; 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); // Get the export Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); Export export = edaCase.Exports.ByName("Export-001"); // Retrieve the list of documents that were exported ExportDocumentManager mgr = export.Documents; // Retrieve the identifiers of the first 500 documents List<int> docIds = mgr.All(true).Take(500).Select(x => x.Id).ToList(); // Clear their received state mgr.MarkAsNotReceived(docIds); } }