/// <summary> /// 创建新的 Sys_VouchHotelInfo 对象。 /// </summary> /// <param name="vouchID">VouchID 属性的初始值。</param> public static Sys_VouchHotelInfo CreateSys_VouchHotelInfo(global::System.Int32 vouchID) { Sys_VouchHotelInfo sys_VouchHotelInfo = new Sys_VouchHotelInfo(); sys_VouchHotelInfo.VouchID = vouchID; return sys_VouchHotelInfo; }
/// <summary> /// 用于向 Sys_VouchHotelInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSys_VouchHotelInfo(Sys_VouchHotelInfo sys_VouchHotelInfo) { base.AddObject("Sys_VouchHotelInfo", sys_VouchHotelInfo); }