/// <summary>
 /// Deprecated Method for adding a new object to the Salaries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalaries(Salary salary)
 {
     base.AddObject("Salaries", salary);
 }
 /// <summary>
 /// Create a new Salary object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="salaryDate">Initial value of the SalaryDate property.</param>
 /// <param name="salary_Employee">Initial value of the Salary_Employee property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Salary CreateSalary(global::System.Int32 id, global::System.DateTime salaryDate, global::System.Int32 salary_Employee, global::System.Double amount, global::System.Byte[] rowVersion)
 {
     Salary salary = new Salary();
     salary.Id = id;
     salary.SalaryDate = salaryDate;
     salary.Salary_Employee = salary_Employee;
     salary.Amount = amount;
     salary.RowVersion = rowVersion;
     return salary;
 }