Exemple #1
0
        /// <summary>
        /// Create a new GroupRateHistory object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="day">Initial value of the Day property.</param>
        /// <param name="groupNumber">Initial value of the GroupNumber property.</param>
        /// <param name="rate">Initial value of the Rate property.</param>
        public static GroupRateHistory CreateGroupRateHistory(global::System.Int32 id, global::System.Int32 day, global::System.Int32 groupNumber, global::System.Double rate)
        {
            GroupRateHistory groupRateHistory = new GroupRateHistory();

            groupRateHistory.Id          = id;
            groupRateHistory.Day         = day;
            groupRateHistory.GroupNumber = groupNumber;
            groupRateHistory.Rate        = rate;
            return(groupRateHistory);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GroupRateHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupRateHistories(GroupRateHistory groupRateHistory)
 {
     base.AddObject("GroupRateHistories", groupRateHistory);
 }