public void Insert(string PlaceName, int?CountryID, int?DefaultPalletID, byte[] Ts) { PlacesTable item = new PlacesTable(); item.PlaceName = PlaceName; item.CountryID = CountryID; item.DefaultPalletID = DefaultPalletID; item.Ts = Ts; item.Save(UserName); }
public void Update(int PlaceID, string PlaceName, int?CountryID, int?DefaultPalletID, byte[] Ts) { PlacesTable item = new PlacesTable(); item.MarkOld(); item.IsLoaded = true; item.PlaceID = PlaceID; item.PlaceName = PlaceName; item.CountryID = CountryID; item.DefaultPalletID = DefaultPalletID; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object PlaceID) { return(PlacesTable.Destroy(PlaceID) == 1); }
public bool Delete(object PlaceID) { return(PlacesTable.Delete(PlaceID) == 1); }