/// <summary> /// Create a new OrderDetail object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static OrderDetail CreateOrderDetail(global::System.Int64 id) { OrderDetail orderDetail = new OrderDetail(); orderDetail.ID = id; return orderDetail; }
/// <summary> /// Deprecated Method for adding a new object to the OrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderDetails(OrderDetail orderDetail) { base.AddObject("OrderDetails", orderDetail); }