示例#1
0
        private DataTable GetDeliverableArtifactData(int taskId)
        {
            var dt       = TaskXDeliverableArtifactDataManager.GetByTask(taskId, SessionVariables.RequestProfile.AuditId);
            var fdt      = DeliverableArtifactDataManager.GetList(SessionVariables.RequestProfile);
            var resultdt = fdt.Clone();

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

            return(dt);
        }