/// <summary> /// Deprecated Method for adding a new object to the salaries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosalaries(salary salary) { base.AddObject("salaries", salary); }
/// <summary> /// Create a new salary object. /// </summary> /// <param name="emp_no">Initial value of the emp_no property.</param> /// <param name="salary1">Initial value of the salary1 property.</param> /// <param name="from_date">Initial value of the from_date property.</param> /// <param name="to_date">Initial value of the to_date property.</param> public static salary Createsalary(global::System.Int32 emp_no, global::System.Int32 salary1, global::System.DateTime from_date, global::System.DateTime to_date) { salary salary = new salary(); salary.emp_no = emp_no; salary.salary1 = salary1; salary.from_date = from_date; salary.to_date = to_date; return salary; }