예제 #1
0
        public TaskNoteData SelectTaskNoteDate(int taskID)
        {
            SqlHandling sh = new SqlHandling("D_TaskNote");
            DataTable   dt = sh.SelectAllData("WHERE TaskID = " + taskID);

            if (dt == null || dt.Rows.Count < 1)
            {
                return(null);
            }
            TaskNoteData tnd = new TaskNoteData(dt.Rows[0]);

            return(tnd);
        }
예제 #2
0
        //--------------------------------------------------------//
        //      Method
        //--------------------------------------------------------//
        public object Clone()
        {
            TaskNoteData cloneData = new TaskNoteData();

            cloneData.TaskNoteID = this.TaskNoteID;
            cloneData.TaskCode   = this.TaskCode;
            cloneData.TaskID     = this.TaskID;
            cloneData.LNo        = this.LNo;
            cloneData.Note       = this.Note;
            cloneData.VersionNo  = this.VersionNo;
            cloneData.OldVerMark = this.OldVerMark;
            return(cloneData);
        }