Beispiel #1
0
        public static int AddEditBookingTranshipment(IBookingTranshipment Transhipment)
        {
            string strExecution = "[exp].[spAddEditBookingTranshipments]";
            int    Result       = 0;

            using (DbQuery oDq = new DbQuery(strExecution))
            {
                oDq.AddIntegerParam("@BookingTranshipmentID", Transhipment.BookingTranshipmentID);
                oDq.AddIntegerParam("@BookingID", Transhipment.BookingID);
                oDq.AddIntegerParam("@PortID", Transhipment.PortId);
                oDq.AddIntegerParam("@OrderNo", Transhipment.OrderNo);
                oDq.AddIntegerParam("@RESULT", Result, QueryParameterDirection.Output);
                oDq.RunActionQuery();
                Result = Convert.ToInt32(oDq.GetParaValue("@Result"));
            }
            return(Result);
        }
Beispiel #2
0
 public int AddEditBookingTranshipment(IBookingTranshipment Transhipments)
 {
     return(BookingDAL.AddEditBookingTranshipment(Transhipments));
 }