public static CalendarRefItem GetCalendarRefItem(LoginUser loginUser, int calendarID) { CalendarRef calendarRef = new CalendarRef(loginUser); calendarRef.LoadByCalendarID(calendarID); if (calendarRef.IsEmpty) { return(null); } else { return(calendarRef[0]); } }
public CalendarRefItem(DataRow row, CalendarRef calendarRef) : base(row, calendarRef) { _calendarRef = calendarRef; }