/// <summary>
        /// 创建新的 OrderedDish 对象。
        /// </summary>
        /// <param name="id">ID 属性的初始值。</param>
        /// <param name="subOrderID">SubOrderID 属性的初始值。</param>
        /// <param name="preOrderAmount">PreOrderAmount 属性的初始值。</param>
        /// <param name="actualOrderAmount">ActualOrderAmount 属性的初始值。</param>
        /// <param name="deliveryAmount">DeliveryAmount 属性的初始值。</param>
        /// <param name="deliveriedAmount">DeliveriedAmount 属性的初始值。</param>
        /// <param name="accountingDeliveriedAmount">AccountingDeliveriedAmount 属性的初始值。</param>
        public static OrderedDish CreateOrderedDish(global::System.Int32 id, global::System.Int32 subOrderID, global::System.Int32 preOrderAmount, global::System.Int32 actualOrderAmount, global::System.Int32 deliveryAmount, global::System.String deliveriedAmount, global::System.String accountingDeliveriedAmount)
        {
            OrderedDish orderedDish = new OrderedDish();

            orderedDish.ID                         = id;
            orderedDish.SubOrderID                 = subOrderID;
            orderedDish.PreOrderAmount             = preOrderAmount;
            orderedDish.ActualOrderAmount          = actualOrderAmount;
            orderedDish.DeliveryAmount             = deliveryAmount;
            orderedDish.DeliveriedAmount           = deliveriedAmount;
            orderedDish.AccountingDeliveriedAmount = accountingDeliveriedAmount;
            return(orderedDish);
        }
 /// <summary>
 /// 创建新的 OrderedDish 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="subOrderID">SubOrderID 属性的初始值。</param>
 /// <param name="preOrderAmount">PreOrderAmount 属性的初始值。</param>
 /// <param name="actualOrderAmount">ActualOrderAmount 属性的初始值。</param>
 /// <param name="deliveryAmount">DeliveryAmount 属性的初始值。</param>
 /// <param name="deliveriedAmount">DeliveriedAmount 属性的初始值。</param>
 /// <param name="accountingDeliveriedAmount">AccountingDeliveriedAmount 属性的初始值。</param>
 public static OrderedDish CreateOrderedDish(global::System.Int32 id, global::System.Int32 subOrderID, global::System.Int32 preOrderAmount, global::System.Int32 actualOrderAmount, global::System.Int32 deliveryAmount, global::System.String deliveriedAmount, global::System.String accountingDeliveriedAmount)
 {
     OrderedDish orderedDish = new OrderedDish();
     orderedDish.ID = id;
     orderedDish.SubOrderID = subOrderID;
     orderedDish.PreOrderAmount = preOrderAmount;
     orderedDish.ActualOrderAmount = actualOrderAmount;
     orderedDish.DeliveryAmount = deliveryAmount;
     orderedDish.DeliveriedAmount = deliveriedAmount;
     orderedDish.AccountingDeliveriedAmount = accountingDeliveriedAmount;
     return orderedDish;
 }
 /// <summary>
 /// 用于向 OrderedDishes EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToOrderedDishes(OrderedDish orderedDish)
 {
     base.AddObject("OrderedDishes", orderedDish);
 }
 /// <summary>
 /// 用于向 OrderedDishes EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToOrderedDishes(OrderedDish orderedDish)
 {
     base.AddObject("OrderedDishes", orderedDish);
 }