/// <summary> /// Deprecated Method for adding a new object to the Months EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMonths(Month month) { base.AddObject("Months", month); }
/// <summary> /// Create a new Month object. /// </summary> /// <param name="monthId">Initial value of the MonthId property.</param> /// <param name="monthName">Initial value of the MonthName property.</param> public static Month CreateMonth(global::System.Int32 monthId, global::System.String monthName) { Month month = new Month(); month.MonthId = monthId; month.MonthName = monthName; return month; }