Ejemplo n.º 1
0
 public BEAttachments SelectAllInactive()
 {
     BEAttachments ds = new BEAttachments();
     DAAttachments da = new DAAttachments();
     da.SelectAllInactive(ds.tbl_Attachments);
     return ds;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 4
0
        public BEAttachments SelectByID(int AttachmentID)
        {
            BEAttachments ds = new BEAttachments();
            DAAttachments da = new DAAttachments();

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

            da.SelectByDocumentID(documentID, ds.tbl_Attachments);
            return ds;
        }
Ejemplo n.º 6
0
 public void Update(BEAttachments ds)
 {
     DAAttachments da = new DAAttachments();
     da.Update(ds.tbl_Attachments);
 }
Ejemplo n.º 7
0
        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);
        }
Ejemplo n.º 8
0
        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);
        }
Ejemplo n.º 9
0
        public void SavePageAttachmentInfo()
        {
            BPAttachments bpAttachments = new BPAttachments();
            BEAttachments dsAttachmentsInDataBase = new BEAttachments();

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