예제 #1
0
        public void InsertWorkTask(WorkTask workTask)
        {
            WorkTaskTable workTaskDB = new WorkTaskTable(connection);

            if (workTask.Comments != null)
            {
                InsertCommits(workTask.Comments.ToArray());
            }
            if (workTask.Files != null)
            {
                InsertAdditionFiles(workTask.Files.ToArray());
            }
            workTaskDB.Insert(workTask);
        }
예제 #2
0
        public void UpdateWorkTask(WorkTask workTask)
        {
            WorkTaskTable workTaskDB = new WorkTaskTable(connection);

            workTaskDB.Update(workTask);
        }