public void Insert(string MasterBLNumber, int?Carrier, int?VoyageID, int?OriginPortID, int?DestinationPortID, DateTime?Ets, DateTime?Eta, DateTime?MasterBLDate, int?ConsigneeID, int?AgentAtDestinationID, byte[] Ts)
        {
            MasterBLTable item = new MasterBLTable();

            item.MasterBLNumber = MasterBLNumber;

            item.Carrier = Carrier;

            item.VoyageID = VoyageID;

            item.OriginPortID = OriginPortID;

            item.DestinationPortID = DestinationPortID;

            item.Ets = Ets;

            item.Eta = Eta;

            item.MasterBLDate = MasterBLDate;

            item.ConsigneeID = ConsigneeID;

            item.AgentAtDestinationID = AgentAtDestinationID;

            item.Ts = Ts;


            item.Save(UserName);
        }
 public bool Destroy(object Mblid)
 {
     return(MasterBLTable.Destroy(Mblid) == 1);
 }
 public bool Delete(object Mblid)
 {
     return(MasterBLTable.Delete(Mblid) == 1);
 }