示例#1
0
        /// <summary>
        /// Create a new GroupRatioHistory 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="ratio">Initial value of the Ratio property.</param>
        public static GroupRatioHistory CreateGroupRatioHistory(global::System.Int32 id, global::System.Int32 day, global::System.Int32 groupNumber, global::System.Int32 ratio)
        {
            GroupRatioHistory groupRatioHistory = new GroupRatioHistory();

            groupRatioHistory.Id          = id;
            groupRatioHistory.Day         = day;
            groupRatioHistory.GroupNumber = groupNumber;
            groupRatioHistory.Ratio       = ratio;
            return(groupRatioHistory);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GroupRatioHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupRatioHistories(GroupRatioHistory groupRatioHistory)
 {
     base.AddObject("GroupRatioHistories", groupRatioHistory);
 }