/// <summary> /// 创建新的 Sys_SightComm 对象。 /// </summary> /// <param name="commID">CommID 属性的初始值。</param> /// <param name="userID">UserID 属性的初始值。</param> /// <param name="userName">UserName 属性的初始值。</param> /// <param name="sightID">SightID 属性的初始值。</param> /// <param name="content">Content 属性的初始值。</param> /// <param name="ip">Ip 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="fen">Fen 属性的初始值。</param> /// <param name="parentID">ParentID 属性的初始值。</param> public static Sys_SightComm CreateSys_SightComm(global::System.Int32 commID, global::System.Int32 userID, global::System.String userName, global::System.Int32 sightID, global::System.String content, global::System.String ip, global::System.DateTime addTime, global::System.Int32 fen, global::System.Int32 parentID) { Sys_SightComm sys_SightComm = new Sys_SightComm(); sys_SightComm.CommID = commID; sys_SightComm.UserID = userID; sys_SightComm.UserName = userName; sys_SightComm.SightID = sightID; sys_SightComm.Content = content; sys_SightComm.Ip = ip; sys_SightComm.AddTime = addTime; sys_SightComm.Fen = fen; sys_SightComm.ParentID = parentID; return sys_SightComm; }
/// <summary> /// 用于向 Sys_SightComm EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSys_SightComm(Sys_SightComm sys_SightComm) { base.AddObject("Sys_SightComm", sys_SightComm); }