Example #1
0
 /// <summary>
 /// Create a new OrderDetail object.
 /// </summary>
 /// <param name="buyId">Initial value of the BuyId property.</param>
 public static OrderDetail CreateOrderDetail(global::System.Int32 buyId)
 {
     OrderDetail orderDetail = new OrderDetail();
     orderDetail.BuyId = buyId;
     return orderDetail;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderDetails(OrderDetail orderDetail)
 {
     base.AddObject("OrderDetails", orderDetail);
 }