Example #1
0
 public BEAttachments SelectAllInactive()
 {
     BEAttachments ds = new BEAttachments();
     DAAttachments da = new DAAttachments();
     da.SelectAllInactive(ds.tbl_Attachments);
     return ds;
 }
Example #2
0
        public BEAttachments SelectByPageTypeSpecificIDAndPageTypeIDAndLinkListID(int pageTypeSpecificID, int pageTypeID, int linkListID)
        {
            BEAttachments ds = new BEAttachments();
            DAAttachments da = new DAAttachments();

            da.SelectByPageTypeSpecificIDAndPageTypeIDAndLinkListID(pageTypeSpecificID, pageTypeID, linkListID, ds.tbl_Attachments);
            return ds;
        }
Example #3
0
        public BEAttachments SelectByPageTypeSpecificIDAndPageTypeIDWithROColumns(int pageTypeSpecificID, int pageTypeID)
        {
            BEAttachments ds = new BEAttachments();
            DAAttachments da = new DAAttachments();

            da.SelectByPageTypeSpecificIDAndPageTypeIDWithROColumns(pageTypeSpecificID, pageTypeID, ds.tbl_Attachments);
            return ds;
        }
Example #4
0
        public BEAttachments SelectByID(int AttachmentID)
        {
            BEAttachments ds = new BEAttachments();
            DAAttachments da = new DAAttachments();

            da.SelectByID(AttachmentID.ToString(), ds.tbl_Attachments);
            return ds;
        }
Example #5
0
        public BEAttachments SelectByDocumentID(int documentID)
        {
            BEAttachments ds = new BEAttachments();
            DAAttachments da = new DAAttachments();

            da.SelectByDocumentID(documentID, ds.tbl_Attachments);
            return ds;
        }
Example #6
0
 public void Update(BEAttachments ds)
 {
     DAAttachments da = new DAAttachments();
     da.Update(ds.tbl_Attachments);
 }
        public void DeletePageAttachmentInfo()
        {
            BPAttachments bpAttachments = new BPAttachments();
            BEAttachments dsAttachmentsInDataBase = new BEAttachments();

            dsAttachmentsInDataBase = bpAttachments.SelectByPageTypeSpecificIDAndPageTypeID(PageTypeSpecificID, PageTypeID);

            foreach (BEAttachments.tbl_AttachmentsRow attachmentRow in dsAttachmentsInDataBase.tbl_Attachments)
                attachmentRow.Delete();

            bpAttachments.Update(dsAttachmentsInDataBase);
        }
        public void SavePageAttachmentInfo(int pageTypeSpecificID, int pageTypeID)
        {
            BPAttachments bpAttachments = new BPAttachments();
            BEAttachments dsAttachmentsInDataBase = new BEAttachments();

            foreach (BEAttachments.tbl_AttachmentsRow attachmentRow in dsInternal.tbl_Attachments)
            {
                attachmentRow.PageTypeSpecificID = pageTypeSpecificID;
                attachmentRow.PageTypeID = pageTypeID;
            }

            dsAttachmentsInDataBase = dsInternal;
            bpAttachments.Update(dsAttachmentsInDataBase);
        }
        public void SavePageAttachmentInfo()
        {
            BPAttachments bpAttachments = new BPAttachments();
            BEAttachments dsAttachmentsInDataBase = new BEAttachments();

            dsAttachmentsInDataBase = dsInternal;
            bpAttachments.Update(dsAttachmentsInDataBase);
        }