示例#1
0
        private DataTable GetTaskNoteData(int taskId)
        {
            var dt       = TaskXTaskNote.GetByTask(taskId, SessionVariables.RequestProfile);
            var fdt      = TaskNoteDataManager.GetList(SessionVariables.RequestProfile);
            var resultdt = fdt.Clone();

            foreach (DataRow row in dt.Rows)
            {
                var rows = fdt.Select("TaskNoteId = " + row[TaskNoteDataModel.DataColumns.TaskNoteId]);
                resultdt.ImportRow(rows[0]);
            }
            return(resultdt);
        }
示例#2
0
        private DataTable GetAssociatedTaskNote(int taskId)
        {
            var dt = TaskXTaskNote.GetByTask(taskId, SessionVariables.RequestProfile);

            return(dt);
        }