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