public hotels RemoveHotels(hotels _item, bool _complete = false) { resort_hotels.Remove(_item); if(_complete) Meridian.Default.hotelsStore.Delete(_item); return _item; }
public HotelPhotosAspect(string field, hotels parent, string folder) : base(field, parent, folder) { _parent = parent; }
public hotels AddHotels(hotels _item, bool _insertToStore = false) { if(resort_hotels.IndexOf(_item) != -1) return _item; resort_hotels.Add(_item); _item.resort_id = id; if(_insertToStore && !Meridian.Default.hotelsStore.Exists(_item.id)) { Meridian.Default.hotelsStore.Insert(_item); _item.LoadAggregations(Meridian.Default); } return _item; }
public HotelsPriceAspect(string _fieldName, hotels parent) : base(_fieldName, parent) { _parent = parent; }