/// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="venue">Initial value of the Venue property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="note">Initial value of the Note property.</param>
 public static Order CreateOrder(global::System.Int32 id, global::System.String venue, global::System.DateTime date, global::System.Int32 customerId, global::System.String note)
 {
     Order order = new Order();
     order.Id = id;
     order.Venue = venue;
     order.Date = date;
     order.CustomerId = customerId;
     order.Note = note;
     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);
 }