/// <summary> /// 用于向 sns_group_topic EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTosns_group_topic(sns_group_topic sns_group_topic) { base.AddObject("sns_group_topic", sns_group_topic); }
/// <summary> /// 创建新的 sns_group_topic 对象。 /// </summary> /// <param name="id">id 属性的初始值。</param> /// <param name="viewcount">viewcount 属性的初始值。</param> /// <param name="replycount">replycount 属性的初始值。</param> /// <param name="dist">dist 属性的初始值。</param> /// <param name="top">top 属性的初始值。</param> /// <param name="lock">lock 属性的初始值。</param> /// <param name="addtime">addtime 属性的初始值。</param> /// <param name="replytime">replytime 属性的初始值。</param> /// <param name="mtime">mtime 属性的初始值。</param> /// <param name="status">status 属性的初始值。</param> /// <param name="isrecom">isrecom 属性的初始值。</param> /// <param name="is_del">is_del 属性的初始值。</param> public static sns_group_topic Createsns_group_topic(global::System.Int64 id, global::System.Int32 viewcount, global::System.Int32 replycount, global::System.Int16 dist, global::System.Int16 top, global::System.Int16 @lock, global::System.Int32 addtime, global::System.Int32 replytime, global::System.Int64 mtime, global::System.Int16 status, global::System.Int16 isrecom, global::System.Int16 is_del) { sns_group_topic sns_group_topic = new sns_group_topic(); sns_group_topic.id = id; sns_group_topic.viewcount = viewcount; sns_group_topic.replycount = replycount; sns_group_topic.dist = dist; sns_group_topic.top = top; sns_group_topic.@lock = @lock; sns_group_topic.addtime = addtime; sns_group_topic.replytime = replytime; sns_group_topic.mtime = mtime; sns_group_topic.status = status; sns_group_topic.isrecom = isrecom; sns_group_topic.is_del = is_del; return sns_group_topic; }