Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 Sys_ArticleInfo 对象。
 /// </summary>
 /// <param name="articleID">ArticleID 属性的初始值。</param>
 /// <param name="classID">ClassID 属性的初始值。</param>
 /// <param name="userID">UserID 属性的初始值。</param>
 /// <param name="picID">PicID 属性的初始值。</param>
 /// <param name="title">Title 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="commFlag">CommFlag 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 /// <param name="visitCount">VisitCount 属性的初始值。</param>
 /// <param name="isTop">IsTop 属性的初始值。</param>
 /// <param name="isVouch">IsVouch 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 public static Sys_ArticleInfo CreateSys_ArticleInfo(global::System.Int32 articleID, global::System.Int32 classID, global::System.Int32 userID, global::System.Int32 picID, global::System.String title, global::System.String content, global::System.Int32 commFlag, global::System.DateTime addTime, global::System.Int32 visitCount, global::System.Int32 isTop, global::System.Int32 isVouch, global::System.Int32 isDelete)
 {
     Sys_ArticleInfo sys_ArticleInfo = new Sys_ArticleInfo();
     sys_ArticleInfo.ArticleID = articleID;
     sys_ArticleInfo.ClassID = classID;
     sys_ArticleInfo.UserID = userID;
     sys_ArticleInfo.PicID = picID;
     sys_ArticleInfo.Title = title;
     sys_ArticleInfo.Content = content;
     sys_ArticleInfo.CommFlag = commFlag;
     sys_ArticleInfo.AddTime = addTime;
     sys_ArticleInfo.VisitCount = visitCount;
     sys_ArticleInfo.IsTop = isTop;
     sys_ArticleInfo.IsVouch = isVouch;
     sys_ArticleInfo.IsDelete = isDelete;
     return sys_ArticleInfo;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 Sys_ArticleInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_ArticleInfo(Sys_ArticleInfo sys_ArticleInfo)
 {
     base.AddObject("Sys_ArticleInfo", sys_ArticleInfo);
 }