public static ExecuteMongoCommand ( MongoCommand mMongoCommand ) : |
||
mMongoCommand | MongoCommand | 命令对象 |
Результат |
/// <summary> /// 压缩 /// </summary> public static void Compact() { CommandExecute.ExecuteMongoCommand(DataBaseCommand.CompactCommand); }
/// <summary> /// 修复和压缩数据库 /// </summary> public static void RepairDb() { CommandExecute.ExecuteMongoCommand(DataBaseCommand.RepairDatabaseCommand); }