Example #1
0
 /// <summary>
 /// Create a new PayGrade object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="grade">Initial value of the Grade property.</param>
 /// <param name="baseSallary">Initial value of the BaseSallary property.</param>
 /// <param name="sallaryCap">Initial value of the SallaryCap property.</param>
 /// <param name="maxRaiseRate">Initial value of the MaxRaiseRate property.</param>
 /// <param name="minRaiseRate">Initial value of the MinRaiseRate property.</param>
 public static PayGrade CreatePayGrade(global::System.Int64 id, global::System.String grade, global::System.Decimal baseSallary, global::System.Decimal sallaryCap, global::System.Decimal maxRaiseRate, global::System.Decimal minRaiseRate)
 {
     PayGrade payGrade = new PayGrade();
     payGrade.ID = id;
     payGrade.Grade = grade;
     payGrade.BaseSallary = baseSallary;
     payGrade.SallaryCap = sallaryCap;
     payGrade.MaxRaiseRate = maxRaiseRate;
     payGrade.MinRaiseRate = minRaiseRate;
     return payGrade;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PayGrades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayGrades(PayGrade payGrade)
 {
     base.AddObject("PayGrades", payGrade);
 }