/// <summary>
 /// 创建新的 BookComment 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="msg">Msg 属性的初始值。</param>
 /// <param name="createDateTime">CreateDateTime 属性的初始值。</param>
 /// <param name="bookId">BookId 属性的初始值。</param>
 public static BookComment CreateBookComment(global::System.Int32 id, global::System.String msg, global::System.DateTime createDateTime, global::System.Int32 bookId)
 {
     BookComment bookComment = new BookComment();
     bookComment.Id = id;
     bookComment.Msg = msg;
     bookComment.CreateDateTime = createDateTime;
     bookComment.BookId = bookId;
     return bookComment;
 }
 /// <summary>
 /// 用于向 BookComment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToBookComment(BookComment bookComment)
 {
     base.AddObject("BookComment", bookComment);
 }