Beispiel #1
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);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new OrderDetail object.
 /// </summary>
 /// <param name="orderDetailsId">Initial value of the OrderDetailsId property.</param>
 public static OrderDetail CreateOrderDetail(global::System.Int32 orderDetailsId)
 {
     OrderDetail orderDetail = new OrderDetail();
     orderDetail.OrderDetailsId = orderDetailsId;
     return orderDetail;
 }