Ejemplo n.º 1
0
 /// <summary>
 /// Create a new OrderStatus object.
 /// </summary>
 /// <param name="orderStatusId">Initial value of the OrderStatusId property.</param>
 /// <param name="orderStatusName">Initial value of the OrderStatusName property.</param>
 public static OrderStatus CreateOrderStatus(global::System.Int32 orderStatusId, global::System.String orderStatusName)
 {
     OrderStatus orderStatus = new OrderStatus();
     orderStatus.OrderStatusId = orderStatusId;
     orderStatus.OrderStatusName = orderStatusName;
     return orderStatus;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderStatuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderStatuses(OrderStatus orderStatus)
 {
     base.AddObject("OrderStatuses", orderStatus);
 }