Пример #1
0
 /// <summary>
 /// 创建新的 Sys_PicComm 对象。
 /// </summary>
 /// <param name="commID">CommID 属性的初始值。</param>
 /// <param name="userID">UserID 属性的初始值。</param>
 /// <param name="userName">UserName 属性的初始值。</param>
 /// <param name="picID">PicID 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="ip">Ip 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 /// <param name="fen">Fen 属性的初始值。</param>
 public static Sys_PicComm CreateSys_PicComm(global::System.Int32 commID, global::System.Int32 userID, global::System.String userName, global::System.Int32 picID, global::System.String content, global::System.String ip, global::System.DateTime addTime, global::System.Int32 fen)
 {
     Sys_PicComm sys_PicComm = new Sys_PicComm();
     sys_PicComm.CommID = commID;
     sys_PicComm.UserID = userID;
     sys_PicComm.UserName = userName;
     sys_PicComm.PicID = picID;
     sys_PicComm.Content = content;
     sys_PicComm.Ip = ip;
     sys_PicComm.AddTime = addTime;
     sys_PicComm.Fen = fen;
     return sys_PicComm;
 }
Пример #2
0
 /// <summary>
 /// 用于向 Sys_PicComm EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_PicComm(Sys_PicComm sys_PicComm)
 {
     base.AddObject("Sys_PicComm", sys_PicComm);
 }