Removed PDF info from Document and Document Config

Added DebugStatus to MSWordToPDF Class
Removed PDF info from Document Config
Moved PDF info from Documents to PDFs Table
Added MSWordPageCount Property
Delete PDFs when RO Value Changes in a related document
This commit is contained in:
Rich
2011-04-18 21:29:29 +00:00
parent dd9bc9e0dc
commit f4a3a969f4
6 changed files with 86 additions and 64 deletions

View File

@@ -247,14 +247,16 @@ namespace VEPROMS.CSLA.Library
{
foreach (DROUsageInfo droUsg in affected)
{
using (Document document = Document.Get(droUsg.DocID))
{
if (document.DocPdf != null)
{
document.DocPdf = null;
document.Save();
}
}
//using (Document document = Document.Get(droUsg.DocID))
//{
Pdf.DeleteAll(droUsg.DocID);
// Delete PDFs
//if (document.DocPdf != null)
//{
// document.DocPdf = null;
// document.Save();
//}
//}
}
}
}