/// <summary> /// Create a new RosterDetail object. /// </summary> /// <param name="criteriaValueDate">Initial value of the CriteriaValueDate property.</param> /// <param name="dutyTime">Initial value of the DutyTime property.</param> /// <param name="workMin">Initial value of the WorkMin property.</param> public static RosterDetail CreateRosterDetail(global::System.String criteriaValueDate, global::System.TimeSpan dutyTime, global::System.Int16 workMin) { RosterDetail rosterDetail = new RosterDetail(); rosterDetail.CriteriaValueDate = criteriaValueDate; rosterDetail.DutyTime = dutyTime; rosterDetail.WorkMin = workMin; return rosterDetail; }
/// <summary> /// Deprecated Method for adding a new object to the RosterDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRosterDetails(RosterDetail rosterDetail) { base.AddObject("RosterDetails", rosterDetail); }