Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public bool Destroy(object PlaceID)
 {
     return(PlacesTable.Destroy(PlaceID) == 1);
 }
Esempio n. 4
0
 public bool Delete(object PlaceID)
 {
     return(PlacesTable.Delete(PlaceID) == 1);
 }