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); }
public bool Destroy(object HouseBLID) { return(HouseBLTable.Destroy(HouseBLID) == 1); }
public bool Delete(object HouseBLID) { return(HouseBLTable.Delete(HouseBLID) == 1); }