コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
 public bool Destroy(object PlaceID)
 {
     return(PlacesTable.Destroy(PlaceID) == 1);
 }
コード例 #4
0
 public bool Delete(object PlaceID)
 {
     return(PlacesTable.Delete(PlaceID) == 1);
 }