Delete PDF after placing the contents into the Document SQL record

This commit is contained in:
Rich 2010-10-12 16:01:59 +00:00
parent c6d2003414
commit a62793b1d5

View File

@ -391,6 +391,7 @@ namespace VEPROMS.CSLA.Library
Byte[] buf = new byte[pdfFile.Length];
fs.Read(buf, 0, buf.Length);
fs.Close();
pdfFile.Delete();
using (Document doc = docInfo.Get())
{
DocumentConfig dc = new DocumentConfig(doc);