我们的集成过程的一部分是创建cleanDB的干净实例并对其进行一些测试并将其删除。
创建,开始删除LocalDB需要花费合理的时间,但停止localDB需要更长的时间。
每个命令都作为单独的进程执行。使用的commands如下:
SqlLocalDb stop v12.0
SqlLocalDb delete v12.0
SqlLocalDb create v12.0 12.0
SqlLocalDb start v12.0
命令的持续时间如下。
SqlLocalDb command stop v12.0 took 12041 ms.
SqlLocalDb command delete v12.0 took 20 ms.
SqlLocalDb command create v12.0 12.0 took 929 ms.
SqlLocalDb command start v12.0 took 623 ms.