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