コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Months EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMonths(Month month)
 {
     base.AddObject("Months", month);
 }
コード例 #2
0
 /// <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;
 }