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); }
private DataTable GetAssociatedDeliverableArtifact(int taskId) { var dt = TaskXDeliverableArtifactDataManager.GetByTask(taskId, SessionVariables.RequestProfile.AuditId); return(dt); }