public void Update(int OrderNumber, string OfficeIndicator, DateTime?DateOrderCreated, bool?PublishipOrder, int?CompanyID, int?ConsigneeID, int?NotifyPartyID, int?AgentAtOriginID, int?AgentAtDestinationID, int?PrinterID, int?ClearingAgentID, int?OnCarriageID, int?OrderControllerID, int?OperationsControllerID, int?OriginPortControllerID, int?DestinationPortControllerID, string CustomersRef, int?ContactID, int?OriginPointID, int?PortID, int?DestinationPortID, int?FinalDestinationID, int?CountryID, int?DestinationCountryID, byte[] Ts) { CloneOrderTable item = new CloneOrderTable(); item.MarkOld(); item.IsLoaded = true; item.OrderNumber = OrderNumber; item.OfficeIndicator = OfficeIndicator; item.DateOrderCreated = DateOrderCreated; item.PublishipOrder = PublishipOrder; item.CompanyID = CompanyID; item.ConsigneeID = ConsigneeID; item.NotifyPartyID = NotifyPartyID; item.AgentAtOriginID = AgentAtOriginID; item.AgentAtDestinationID = AgentAtDestinationID; item.PrinterID = PrinterID; item.ClearingAgentID = ClearingAgentID; item.OnCarriageID = OnCarriageID; item.OrderControllerID = OrderControllerID; item.OperationsControllerID = OperationsControllerID; item.OriginPortControllerID = OriginPortControllerID; item.DestinationPortControllerID = DestinationPortControllerID; item.CustomersRef = CustomersRef; item.ContactID = ContactID; item.OriginPointID = OriginPointID; item.PortID = PortID; item.DestinationPortID = DestinationPortID; item.FinalDestinationID = FinalDestinationID; item.CountryID = CountryID; item.DestinationCountryID = DestinationCountryID; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object OrderNumber) { return(CloneOrderTable.Destroy(OrderNumber) == 1); }
public bool Delete(object OrderNumber) { return(CloneOrderTable.Delete(OrderNumber) == 1); }