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