コード例 #1
0
        public static TaskAssociation GetTaskAssociation(LoginUser loginUser, int taskID)
        {
            TaskAssociations taskAssociations = new TaskAssociations(loginUser);

            taskAssociations.LoadByTaskID(taskID);
            if (taskAssociations.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(taskAssociations[0]);
            }
        }
コード例 #2
0
 public TaskAssociation(DataRow row, TaskAssociations taskAssociations) : base(row, taskAssociations)
 {
     _taskAssociations = taskAssociations;
 }