Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="id"></param>
 /// <param name="name"></param>
 /// <param name="description"></param>
 /// <param name="includeLegalHoliday"></param>
 /// <param name="includeRestDay"></param>
 /// <param name="leastHour"></param>
 public LeaveRequestType(int id, string name, string description,
                         LegalHoliday includeLegalHoliday, RestDay includeRestDay,
                         decimal leastHour) :
     this(name, description, includeLegalHoliday, includeRestDay, leastHour)
 {
     _LeaveRequestTypeID = id;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="description"></param>
 /// <param name="includeLegalHoliday"></param>
 /// <param name="includeRestDay"></param>
 /// <param name="leastHour"></param>
 public LeaveRequestType(string name, string description,
                         LegalHoliday includeLegalHoliday, RestDay includeRestDay,
                         decimal leastHour)
 {
     _Name = name;
     _includeLegalHoliday = includeLegalHoliday;
     _includeRestDay      = includeRestDay;
     _Description         = description;
     _LeastHour           = leastHour;
 }