コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Summary_of_Sales_by_Years EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSummary_of_Sales_by_Years(Summary_of_Sales_by_Year summary_of_Sales_by_Year)
 {
     base.AddObject("Summary_of_Sales_by_Years", summary_of_Sales_by_Year);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Summary_of_Sales_by_Year object.
 /// </summary>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 public static Summary_of_Sales_by_Year CreateSummary_of_Sales_by_Year(global::System.Int32 orderID)
 {
     Summary_of_Sales_by_Year summary_of_Sales_by_Year = new Summary_of_Sales_by_Year();
     summary_of_Sales_by_Year.OrderID = orderID;
     return summary_of_Sales_by_Year;
 }