Beispiel #1
0
 /// <summary>
 /// </summary>
 public static void Compact()
 {
     CommandHelper.ExecuteMongoCommand(CommandHelper.CompactCommand);
 }
Beispiel #2
0
 /// <summary>
 ///     修复和压缩数据库
 /// </summary>
 public static void RepairDb()
 {
     CommandHelper.ExecuteMongoCommand(CommandHelper.RepairDatabaseCommand);
 }
Beispiel #3
0
 /// <summary>
 /// </summary>
 public static void ResyncCommand()
 {
     CommandHelper.ExecuteMongoCommand(CommandHelper.ResyncCommand);
 }