Exemplo n.º 1
0
        public void Load(int iID)
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();
            string tmpDat;

            tmpDat = dbDt.GetByID(iID);

            Clear();
            if (tmpDat.Length > 0)
            {
                LoadVals(tmpDat);
            }

            dbDt = null;
        }
Exemplo n.º 2
0
        public int Save()
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();
            string tmpDat;
            int    retVal;

            tmpDat = GetDataString();

            if (base.ID > 0)
            {
                dbDt.SavePrev(tmpDat);
                retVal = base.ID;
            }
            else
            {
                retVal  = dbDt.SaveNew(tmpDat);
                base.ID = retVal;
            }

            dbDt = null;

            return(retVal);
        }
Exemplo n.º 3
0
        public static void SetPrintDate(int iID)
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();

            dbDt.SetPrintDate(iID);
        }
Exemplo n.º 4
0
        public static void Delete(int cID)
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();

            dbDt.Delete(cID);
        }
Exemplo n.º 5
0
        public static bool CopyToNewProject(int currRelease, int newProjecID)
        {
            CDbTransmittalRelease db = new CDbTransmittalRelease();

            return(db.CopyToNewProject(currRelease, newProjecID));
        }
Exemplo n.º 6
0
        public static int CopyExistingRelease(int releaseID)
        {
            CDbTransmittalRelease db = new CDbTransmittalRelease();

            return(db.CopyExistingRelease(releaseID));
        }
Exemplo n.º 7
0
        public static DataSet GetTransmittalReleaseForReport(int releaseID)
        {
            CDbTransmittalRelease db = new CDbTransmittalRelease();

            return(db.GetTransmittalReleaseForReport(releaseID));
        }
Exemplo n.º 8
0
        public static int GetReleaseCountByProject(int projectID)
        {
            CDbTransmittalRelease db = new CDbTransmittalRelease();

            return(db.GetReleaseCountByProject(projectID));
        }
Exemplo n.º 9
0
        public static DataSet GetIssueReleaseForReport(int issueID)
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();

            return(dbDt.GetIssueReleaseForReport(issueID));
        }
Exemplo n.º 10
0
        public static SqlDataReader GetListForManagerList(int projectID)
        {
            CDbTransmittalRelease db = new CDbTransmittalRelease();

            return(db.GetListForManagerList(projectID));
        }
Exemplo n.º 11
0
        public static SqlDataReader GetListForTransmittal()
        {
            CDbTransmittalRelease dbDt = new CDbTransmittalRelease();

            return(dbDt.GetListForTransmittals());
        }