/// <summary> /// Create a new Adjustment object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="leave_Id">Initial value of the Leave_Id property.</param> /// <param name="working_Hour_Id">Initial value of the Working_Hour_Id property.</param> /// <param name="date">Initial value of the Date property.</param> public static Adjustment CreateAdjustment(global::System.Int32 id, global::System.Int32 leave_Id, global::System.Int32 working_Hour_Id, global::System.DateTime date) { Adjustment adjustment = new Adjustment(); adjustment.Id = id; adjustment.Leave_Id = leave_Id; adjustment.Working_Hour_Id = working_Hour_Id; adjustment.Date = date; return adjustment; }
/// <summary> /// Deprecated Method for adding a new object to the Adjustments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdjustments(Adjustment adjustment) { base.AddObject("Adjustments", adjustment); }