Example #1
0
 /// <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(Salaries salaries)
 {
     base.AddObject("Salaries", salaries);
 }
Example #2
0
 /// <summary>
 /// Create a new Salaries object.
 /// </summary>
 /// <param name="salaryID">Initial value of the SalaryID property.</param>
 /// <param name="salaryFrom">Initial value of the SalaryFrom property.</param>
 /// <param name="salaryTo">Initial value of the SalaryTo property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Salaries CreateSalaries(global::System.Int32 salaryID, global::System.Int32 salaryFrom, global::System.Int32 salaryTo, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Salaries salaries = new Salaries();
     salaries.SalaryID = salaryID;
     salaries.SalaryFrom = salaryFrom;
     salaries.SalaryTo = salaryTo;
     salaries.AddDate = addDate;
     salaries.RowVersion = rowVersion;
     return salaries;
 }