Moved DocPDF from Documents to PDFs table

Moved DocPDF from Documents to new PDFs table
This commit is contained in:
Rich
2011-04-18 21:30:48 +00:00
parent f4a3a969f4
commit 628cfc67de
5 changed files with 203 additions and 66 deletions

View File

@@ -253,16 +253,6 @@ namespace VEPROMS.CSLA.Library
return _Document_FileExtension;
}
}
private byte[] _Document_DocPdf;
public byte[] Document_DocPdf
{
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
get
{
CanReadProperty("Document_DocPdf", true);
return _Document_DocPdf;
}
}
// CSLATODO: Check RODbDROUsage.GetIdValue to assure that the ID returned is unique
/// <summary>
/// Overrides Base GetIdValue - Used internally by CSLA to determine equality
@@ -485,7 +475,6 @@ namespace VEPROMS.CSLA.Library
_Document_DTS = dr.GetDateTime("Document_DTS");
_Document_UserID = dr.GetString("Document_UserID");
_Document_FileExtension = dr.GetString("Document_FileExtension");
_Document_DocPdf = (byte[])dr.GetValue("Document_DocPdf");
}
catch (Exception ex) // FKItem Fetch
{