コード例 #1
0
        internal static void  Update_Ticketinfo(long customerid, string pnr, string carrierAirline, string sector, DateTime travellingDate, string issuedFrom, decimal faceValue, decimal payable, decimal profit, bool okToBoard, string type, DateTime departuredate, string ReturnDateLongstring, string visaType, string PaymentType, string Travellingfrom, string destination, string OrignalPnr)
        {
            if (string.IsNullOrWhiteSpace(ReturnDateLongstring) == true)
            {
                Table_Adapter_Ticket.UpdateQuery_Ticket_Information_StoreProcedure_Func(customerid, pnr, carrierAirline, sector, travellingDate, issuedFrom, faceValue, payable, profit, okToBoard, type, departuredate, null, visaType, PaymentType, Travellingfrom, destination, OrignalPnr);
            }


            if (string.IsNullOrWhiteSpace(ReturnDateLongstring) == false)
            {
                Table_Adapter_Ticket.UpdateQuery_Ticket_Information_StoreProcedure_Func(customerid, pnr, carrierAirline, sector, travellingDate, issuedFrom, faceValue, payable, profit, okToBoard, type, departuredate, DateTime.Parse(ReturnDateLongstring), visaType, PaymentType, Travellingfrom, destination, OrignalPnr);
            }
        }