public static TaskAssociationsViewItem GetTaskAssociationsViewItem(LoginUser loginUser, int taskID)
        {
            TaskAssociationsView taskAssociationsView = new TaskAssociationsView(loginUser);

            taskAssociationsView.LoadByTaskID(taskID);
            if (taskAssociationsView.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(taskAssociationsView[0]);
            }
        }
 public TaskAssociationsViewItem(DataRow row, TaskAssociationsView taskAssociationsView) : base(row, taskAssociationsView)
 {
     _taskAssociationsView = taskAssociationsView;
 }