Example #1
0
 /// <summary>
 /// 用于向 blog_varticle EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToblog_varticle(blog_varticle blog_varticle)
 {
     base.AddObject("blog_varticle", blog_varticle);
 }
Example #2
0
 /// <summary>
 /// 创建新的 blog_varticle 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="typeid">typeid 属性的初始值。</param>
 /// <param name="cateid">cateid 属性的初始值。</param>
 /// <param name="catepath">catepath 属性的初始值。</param>
 /// <param name="articleid">articleid 属性的初始值。</param>
 /// <param name="parentid">parentid 属性的初始值。</param>
 /// <param name="layer">layer 属性的初始值。</param>
 /// <param name="subcount">subcount 属性的初始值。</param>
 /// <param name="catename">catename 属性的初始值。</param>
 /// <param name="userid">userid 属性的初始值。</param>
 /// <param name="username">username 属性的初始值。</param>
 /// <param name="title">title 属性的初始值。</param>
 /// <param name="summary">summary 属性的初始值。</param>
 /// <param name="content">content 属性的初始值。</param>
 /// <param name="viewcount">viewcount 属性的初始值。</param>
 /// <param name="orderid">orderid 属性的初始值。</param>
 /// <param name="replypermit">replypermit 属性的初始值。</param>
 /// <param name="status">status 属性的初始值。</param>
 /// <param name="ip">ip 属性的初始值。</param>
 /// <param name="favor">favor 属性的初始值。</param>
 /// <param name="against">against 属性的初始值。</param>
 /// <param name="iscommend">iscommend 属性的初始值。</param>
 /// <param name="istop">istop 属性的初始值。</param>
 /// <param name="createdate">createdate 属性的初始值。</param>
 /// <param name="lastreplydate">lastreplydate 属性的初始值。</param>
 /// <param name="lastreplyuser">lastreplyuser 属性的初始值。</param>
 /// <param name="articletypeid">articletypeid 属性的初始值。</param>
 /// <param name="rename">rename 属性的初始值。</param>
 /// <param name="seotitle">seotitle 属性的初始值。</param>
 /// <param name="seodescription">seodescription 属性的初始值。</param>
 /// <param name="seokeywords">seokeywords 属性的初始值。</param>
 /// <param name="seometas">seometas 属性的初始值。</param>
 /// <param name="tags">tags 属性的初始值。</param>
 public static blog_varticle Createblog_varticle(global::System.Int32 id, global::System.Int32 typeid, global::System.Int32 cateid, global::System.String catepath, global::System.Int32 articleid, global::System.Int32 parentid, global::System.Int32 layer, global::System.Int32 subcount, global::System.String catename, global::System.Int32 userid, global::System.String username, global::System.String title, global::System.String summary, global::System.String content, global::System.Int32 viewcount, global::System.Int32 orderid, global::System.Byte replypermit, global::System.Byte status, global::System.String ip, global::System.Int32 favor, global::System.Int32 against, global::System.Byte iscommend, global::System.Byte istop, global::System.DateTime createdate, global::System.DateTime lastreplydate, global::System.String lastreplyuser, global::System.Int32 articletypeid, global::System.String rename, global::System.String seotitle, global::System.String seodescription, global::System.String seokeywords, global::System.String seometas, global::System.String tags)
 {
     blog_varticle blog_varticle = new blog_varticle();
     blog_varticle.id = id;
     blog_varticle.typeid = typeid;
     blog_varticle.cateid = cateid;
     blog_varticle.catepath = catepath;
     blog_varticle.articleid = articleid;
     blog_varticle.parentid = parentid;
     blog_varticle.layer = layer;
     blog_varticle.subcount = subcount;
     blog_varticle.catename = catename;
     blog_varticle.userid = userid;
     blog_varticle.username = username;
     blog_varticle.title = title;
     blog_varticle.summary = summary;
     blog_varticle.content = content;
     blog_varticle.viewcount = viewcount;
     blog_varticle.orderid = orderid;
     blog_varticle.replypermit = replypermit;
     blog_varticle.status = status;
     blog_varticle.ip = ip;
     blog_varticle.favor = favor;
     blog_varticle.against = against;
     blog_varticle.iscommend = iscommend;
     blog_varticle.istop = istop;
     blog_varticle.createdate = createdate;
     blog_varticle.lastreplydate = lastreplydate;
     blog_varticle.lastreplyuser = lastreplyuser;
     blog_varticle.articletypeid = articletypeid;
     blog_varticle.rename = rename;
     blog_varticle.seotitle = seotitle;
     blog_varticle.seodescription = seodescription;
     blog_varticle.seokeywords = seokeywords;
     blog_varticle.seometas = seometas;
     blog_varticle.tags = tags;
     return blog_varticle;
 }