public static Pedido CreatePedido( int salesOrderID, byte revisionNumber, global::System.DateTime orderDate, global::System.DateTime dueDate, byte status, bool onlineOrderFlag, string salesOrderNumber, int customerID, int contactID, int billToAddressID, int shipToAddressID, int shipMethodID, decimal subTotal, decimal taxAmt, decimal freight, decimal totalDue, global::System.Guid rowguid, global::System.DateTime modifiedDate) { Pedido pedido = new Pedido(); pedido.SalesOrderID = salesOrderID; pedido.RevisionNumber = revisionNumber; pedido.OrderDate = orderDate; pedido.DueDate = dueDate; pedido.Status = status; pedido.OnlineOrderFlag = onlineOrderFlag; pedido.SalesOrderNumber = salesOrderNumber; pedido.CustomerID = customerID; pedido.ContactID = contactID; pedido.BillToAddressID = billToAddressID; pedido.ShipToAddressID = shipToAddressID; pedido.ShipMethodID = shipMethodID; pedido.SubTotal = subTotal; pedido.TaxAmt = taxAmt; pedido.Freight = freight; pedido.TotalDue = totalDue; pedido.rowguid = rowguid; pedido.ModifiedDate = modifiedDate; return pedido; }
public void AddToPedidos(Pedido pedido) { base.AddObject("Pedidos", pedido); }