Esempio n. 1
0
 /// <summary>
 /// 用于向 blog_article EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToblog_article(blog_article blog_article)
 {
     base.AddObject("blog_article", blog_article);
 }
Esempio n. 2
0
 /// <summary>
 /// 创建新的 blog_article 对象。
 /// </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>
 public static blog_article Createblog_article(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)
 {
     blog_article blog_article = new blog_article();
     blog_article.id = id;
     blog_article.typeid = typeid;
     blog_article.cateid = cateid;
     blog_article.catepath = catepath;
     blog_article.articleid = articleid;
     blog_article.parentid = parentid;
     blog_article.layer = layer;
     blog_article.subcount = subcount;
     blog_article.catename = catename;
     blog_article.userid = userid;
     blog_article.username = username;
     blog_article.title = title;
     blog_article.summary = summary;
     blog_article.content = content;
     blog_article.viewcount = viewcount;
     blog_article.orderid = orderid;
     blog_article.replypermit = replypermit;
     blog_article.status = status;
     blog_article.ip = ip;
     blog_article.favor = favor;
     blog_article.against = against;
     blog_article.iscommend = iscommend;
     blog_article.istop = istop;
     blog_article.createdate = createdate;
     blog_article.lastreplydate = lastreplydate;
     blog_article.lastreplyuser = lastreplyuser;
     blog_article.articletypeid = articletypeid;
     blog_article.rename = rename;
     return blog_article;
 }