示例#1
0
        public static UserAssignmentHistoryItem GetUserAssignmentHistoryItem(LoginUser loginUser, int userAssignmentHistoryID)
        {
            UserAssignmentHistory userAssignmentHistory = new UserAssignmentHistory(loginUser);

            userAssignmentHistory.LoadByUserAssignmentHistoryID(userAssignmentHistoryID);
            if (userAssignmentHistory.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(userAssignmentHistory[0]);
            }
        }
示例#2
0
 public UserAssignmentHistoryItem(DataRow row, UserAssignmentHistory userAssignmentHistory) : base(row, userAssignmentHistory)
 {
     _userAssignmentHistory = userAssignmentHistory;
 }