private BusinessEntityProperty CreateExPropNonLang(HotelPropertyKeyName hotelPropertyKeyName, string PropertyValue) { var exPropNonLang = new BusinessEntityProperty(); exPropNonLang.Category = (int)HotelPropertyCategory.HotelConvenient; exPropNonLang.PropertyKey = (int)hotelPropertyKeyName; exPropNonLang.PropertyValue = PropertyValue; exPropNonLang.Language = Languages.VN; exPropNonLang.BusinessEntityId = this.Id; return(exPropNonLang); }
public BusinessEntityProperty CreateReservationPolicy(string language, int?businessEntityId) { var bep = new BusinessEntityProperty(); bep.Category = (int)HotelPropertyCategory.HotelPolicy; bep.PropertyKey = (int)HotelPropertyKeyName.ReservationPolicy; bep.PropertyValue = ReservationPolicy; bep.Language = language; bep.BusinessEntityId = businessEntityId; return(bep); }
public BusinessEntityProperty CreateCancellationPolicy(string language, int?businessEntityId) { var bep = new BusinessEntityProperty(); bep.Category = (int)RestaurantPropertyCategory.RestaurantPolicy; bep.PropertyKey = (int)RestaurantPropertyKeyName.CheckInPolicy; bep.PropertyValue = _CancellationPolicy; bep.Language = language; bep.BusinessEntityId = businessEntityId; return(bep); }
public BusinessEntityProperty CreateChildAndExtraBedRoomPolicy(string language, int?businessEntityId) { var bep = new BusinessEntityProperty(); bep.Category = (int)HotelPropertyCategory.HotelPolicy; bep.PropertyKey = (int)HotelPropertyKeyName.ChildAndExtraBedRoomPolicy; bep.PropertyValue = ChildAndExtraBedRoomPolicy; bep.Language = language; bep.BusinessEntityId = businessEntityId; return(bep); }