/// <summary> /// Deprecated Method for adding a new object to the OrderThroughs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderThroughs(OrderThrough orderThrough) { base.AddObject("OrderThroughs", orderThrough); }
/// <summary> /// Create a new OrderThrough object. /// </summary> /// <param name="orderThroughID">Initial value of the OrderThroughID property.</param> /// <param name="mode">Initial value of the Mode property.</param> public static OrderThrough CreateOrderThrough(global::System.Byte orderThroughID, global::System.String mode) { OrderThrough orderThrough = new OrderThrough(); orderThrough.OrderThroughID = orderThroughID; orderThrough.Mode = mode; return orderThrough; }