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