/// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dishId">Initial value of the DishId property.</param>
 /// <param name="placedAt">Initial value of the PlacedAt property.</param>
 /// <param name="isServed">Initial value of the IsServed property.</param>
 public static Order CreateOrder(global::System.Int32 id, global::System.Int32 dishId, global::System.DateTime placedAt, global::System.Boolean isServed)
 {
     Order order = new Order();
     order.Id = id;
     order.DishId = dishId;
     order.PlacedAt = placedAt;
     order.IsServed = isServed;
     return order;
 }
 /// <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);
 }