Class FileAttachmentsBusinessEntity

Business Entity for FileAttachments.

System.Object
  EPS.Business.BusinessObjects.BusinessEntity
    EPS.Business.DocumentManagement.FileAttachmentsBusinessEntity

public class FileAttachmentsBusinessEntity : BusinessEntity

Class Members

MemberDescription
AttachFile Attaches the specified file
public virtual bool AttachFile( string fileName );

public virtual bool AttachFile( HttpPostedFile uploadFile );

public virtual bool AttachFile( HttpPostedFile uploadFile,
FileAttachmentIndex attachmentNumber );

public virtual bool AttachFile( string fileName,
FileAttachmentIndex attachmentNumber );

EditAttachment Opens the primary (first) attachment for editing.
public virtual void EditAttachment();

public virtual void EditAttachment( FileAttachmentIndex index,
bool autoSaveChanges );

GetBusinessObject Override the GetBusinessObject method
public virtual IBusinessObject GetBusinessObject();
LoadEntity Load Entity
public static FileAttachmentsBusinessEntity LoadEntity( Guid id );
NewEntity NewEntity
public static FileAttachmentsBusinessEntity NewEntity();

public static FileAttachmentsBusinessEntity NewEntity( string fileName,
Guid attachToObjectId );

SaveAttachmentAs Saves the primary (first) attachment as the specified file name.
public virtual void SaveAttachmentAs( string fileName );

public virtual void SaveAttachmentAs( FileAttachmentIndex index,
string fileName );

Assignments Property for Assignments Collection
AttachDate Property for dAttachDate
Attachment First file attachment
Attachment2 Second file attachment
Attachment3 Third file attachment
AttachmentSize First attachment size
AttachmentSize2 Second attachment size
AttachmentSize3 Third attachment size
Category Property for cCategory
Description Property for cDescription
FileDate File date of the first attachment
FileDate2 File date of the second attachment
FileDate3 File date of the third attachment
FileName First attachment's original file name
FileName2 Second attachment's original file name
FileName3 Third attachment's original file name
PreviewThumbnail Property for bPreviewThumbnail
SubCategory Property for cSubCategory
Title Property for cTitle
Type First attachment type
Type2 Second attachment type
Type3 Third attachment type

Requirements

Namespace: EPS.Business.DocumentManagement
Assembly: DOCUMENTMANAGEMENTBUSINESSOBJECTS.DLL


  Last Updated: 5/23/2007 | © , 2007