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