Ejemplo n.º 1
0
 /// <summary>
 /// Create a new order object.
 /// </summary>
 /// <param name="orderDelivered">Initial value of the orderDelivered property.</param>
 /// <param name="cookingCompleted">Initial value of the cookingCompleted property.</param>
 /// <param name="orderNumber">Initial value of the orderNumber property.</param>
 public static order Createorder(global::System.Boolean orderDelivered, global::System.Boolean cookingCompleted, global::System.Int32 orderNumber)
 {
     order order = new order();
     order.orderDelivered = orderDelivered;
     order.cookingCompleted = cookingCompleted;
     order.orderNumber = orderNumber;
     return order;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the orders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToorders(order order)
 {
     base.AddObject("orders", order);
 }