예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DayRates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDayRates(DayRates dayRates)
 {
     base.AddObject("DayRates", dayRates);
 }
예제 #2
0
 /// <summary>
 /// Create a new DayRates object.
 /// </summary>
 /// <param name="dayRateID">Initial value of the DayRateID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static DayRates CreateDayRates(global::System.Int32 dayRateID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     DayRates dayRates = new DayRates();
     dayRates.DayRateID = dayRateID;
     dayRates.AddDate = addDate;
     dayRates.RowVersion = rowVersion;
     return dayRates;
 }