/// <summary> /// Create a new CFG_DayOff object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="doctorId">Initial value of the DoctorId property.</param> /// <param name="practiceId">Initial value of the PracticeId property.</param> public static CFG_DayOff CreateCFG_DayOff(global::System.Int32 id, global::System.DateTime date, global::System.String description, global::System.Int32 doctorId, global::System.Int32 practiceId) { CFG_DayOff cFG_DayOff = new CFG_DayOff(); cFG_DayOff.Id = id; cFG_DayOff.Date = date; cFG_DayOff.Description = description; cFG_DayOff.DoctorId = doctorId; cFG_DayOff.PracticeId = practiceId; return cFG_DayOff; }
/// <summary> /// Deprecated Method for adding a new object to the CFG_DayOff EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCFG_DayOff(CFG_DayOff cFG_DayOff) { base.AddObject("CFG_DayOff", cFG_DayOff); }