/// <summary> /// Create a new V_OptionHotel object. /// </summary> /// <param name="vHId">Initial value of the VHId property.</param> /// <param name="vOptId">Initial value of the VOptId property.</param> /// <param name="resourceName">Initial value of the ResourceName property.</param> /// <param name="roomName">Initial value of the RoomName property.</param> /// <param name="checkindate">Initial value of the Checkindate property.</param> /// <param name="checkoutdate">Initial value of the Checkoutdate property.</param> /// <param name="roomqty">Initial value of the Roomqty property.</param> /// <param name="addr">Initial value of the Addr property.</param> /// <param name="telephone">Initial value of the Telephone property.</param> public static V_OptionHotel CreateV_OptionHotel(global::System.Int32 vHId, global::System.Int32 vOptId, global::System.String resourceName, global::System.String roomName, global::System.DateTime checkindate, global::System.DateTime checkoutdate, global::System.Int32 roomqty, global::System.String addr, global::System.String telephone) { V_OptionHotel v_OptionHotel = new V_OptionHotel(); v_OptionHotel.VHId = vHId; v_OptionHotel.VOptId = vOptId; v_OptionHotel.ResourceName = resourceName; v_OptionHotel.RoomName = roomName; v_OptionHotel.Checkindate = checkindate; v_OptionHotel.Checkoutdate = checkoutdate; v_OptionHotel.Roomqty = roomqty; v_OptionHotel.Addr = addr; v_OptionHotel.Telephone = telephone; return v_OptionHotel; }
/// <summary> /// Deprecated Method for adding a new object to the V_OptionHotel EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToV_OptionHotel(V_OptionHotel v_OptionHotel) { base.AddObject("V_OptionHotel", v_OptionHotel); }