예제 #1
0
        public void Insert(string HouseBLNumber, int?MasterBLID, int?ConsigneeID, DateTime?HBLDate, int?AgentAtDestinationID, int?OriginPort, int?DestinationPort, int?VoyageID, DateTime?Ets, DateTime?Eta, bool Added, byte[] Ts)
        {
            HouseBLTable item = new HouseBLTable();

            item.HouseBLNumber = HouseBLNumber;

            item.MasterBLID = MasterBLID;

            item.ConsigneeID = ConsigneeID;

            item.HBLDate = HBLDate;

            item.AgentAtDestinationID = AgentAtDestinationID;

            item.OriginPort = OriginPort;

            item.DestinationPort = DestinationPort;

            item.VoyageID = VoyageID;

            item.Ets = Ets;

            item.Eta = Eta;

            item.Added = Added;

            item.Ts = Ts;


            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object HouseBLID)
 {
     return(HouseBLTable.Destroy(HouseBLID) == 1);
 }
예제 #3
0
 public bool Delete(object HouseBLID)
 {
     return(HouseBLTable.Delete(HouseBLID) == 1);
 }