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