Esempio n. 1
0
        public void DeleteCityWithEditHistory(CityWithEditHistory city)
        {
            city.EditHistory = "delete";
            // this version tombstones by moving to alternate list
            _deletedCities.Add(city);

            // Call base CUD to delete from main store
            this.DeleteCity(city);
        }
 public void TouchHistory(CityWithEditHistory city, string touchString)
 {
     city.EditHistory = "touch=" + touchString;
 }
        public void DeleteCityWithEditHistory(CityWithEditHistory city)
        {
            city.EditHistory = "delete";
            // this version tombstones by moving to alternate list
            _deletedCities.Add(city);

            // Call base CUD to delete from main store
            this.DeleteCity(city);
        }
 public void UpdateCityWithEditHistory(CityWithEditHistory city)
 {
     city.EditHistory = "update";
     this.UpdateCity(city);
 }
 public void InsertCityWithEditHistory(CityWithEditHistory city)
 {
     city.EditHistory = "insert";
     this.InsertCity(city);
 }
Esempio n. 6
0
 public void TouchHistory(CityWithEditHistory city, string touchString)
 {
     city.EditHistory = "touch=" + touchString;
 }
Esempio n. 7
0
 public void UpdateCityWithEditHistory(CityWithEditHistory city)
 {
     city.EditHistory = "update";
     this.UpdateCity(city);
 }
Esempio n. 8
0
 public void InsertCityWithEditHistory(CityWithEditHistory city)
 {
     city.EditHistory = "insert";
     this.InsertCity(city);
 }
 /// <summary>
 /// Invokes the 'TouchHistory' method of the specified <see cref="CityWithEditHistory"/> entity.
 /// </summary>
 /// <param name="city">The <see cref="CityWithEditHistory"/> entity instance.</param>
 /// <param name="touchString">The value for the 'touchString' parameter for this action.</param>
 public void TouchHistory(CityWithEditHistory city, string touchString)
 {
     city.TouchHistory(touchString);
 }