/// <summary> /// Deprecated Method for adding a new object to the CstOrders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCstOrders(CstOrder cstOrder) { base.AddObject("CstOrders", cstOrder); }
/// <summary> /// Create a new CstOrder object. /// </summary> /// <param name="orderNo">Initial value of the OrderNo property.</param> /// <param name="orderBU">Initial value of the OrderBU property.</param> /// <param name="invoiceNum">Initial value of the InvoiceNum property.</param> /// <param name="deptID">Initial value of the DeptID property.</param> /// <param name="pymntTermsCD">Initial value of the PymntTermsCD property.</param> /// <param name="orderReasonCD">Initial value of the OrderReasonCD property.</param> /// <param name="adjustFlag">Initial value of the AdjustFlag property.</param> /// <param name="custDeliveryFlag">Initial value of the CustDeliveryFlag property.</param> /// <param name="exbiStatus">Initial value of the ExbiStatus property.</param> /// <param name="carTypeCD">Initial value of the CarTypeCD property.</param> public static CstOrder CreateCstOrder(global::System.String orderNo, global::System.String orderBU, global::System.String invoiceNum, global::System.String deptID, global::System.String pymntTermsCD, global::System.String orderReasonCD, global::System.String adjustFlag, global::System.String custDeliveryFlag, global::System.String exbiStatus, global::System.String carTypeCD) { CstOrder cstOrder = new CstOrder(); cstOrder.OrderNo = orderNo; cstOrder.OrderBU = orderBU; cstOrder.InvoiceNum = invoiceNum; cstOrder.DeptID = deptID; cstOrder.PymntTermsCD = pymntTermsCD; cstOrder.OrderReasonCD = orderReasonCD; cstOrder.AdjustFlag = adjustFlag; cstOrder.CustDeliveryFlag = custDeliveryFlag; cstOrder.ExbiStatus = exbiStatus; cstOrder.CarTypeCD = carTypeCD; return cstOrder; }