예제 #1
0
 /// <summary>
 /// 插入文章表示综合体
 /// </summary>
 /// <param name="Newcommentbody"></param>
 /// <returns>序列号</returns>
 public static string InsertCommentBody(CommentBody NewCommentBody)
 {
     return(MongoDbRepository.InsertRec(NewCommentBody));
 }
예제 #2
0
 /// <summary>
 /// 删除文章表示综合体
 /// </summary>
 /// <param name="DropCommentBody"></param>
 public static void DropCommentBody(CommentBody DropCommentBody)
 {
     MongoDbRepository.DeleteRec(DropCommentBody);
 }
예제 #3
0
 /// <summary>
 /// 修改文章表示综合体
 /// </summary>
 /// <param name="OldCommentBody"></param>
 public static void UpdateCommentBody(CommentBody OldCommentBody)
 {
     MongoDbRepository.UpdateRec(OldCommentBody);
 }