예제 #1
0
 public void RunLinearizer(TimeSpan timeout, TimeSpan?durationWork = null, int batchSize = 500)
 {
     Linearizer = new Linearizer(
         _connectionString,
         _logger,
         timeout,
         durationWork ?? TimeSpan.FromSeconds(defaultDurationWorkInSeconds),
         batchSize);
 }
예제 #2
0
 public MsSqlPersistor(Linearizer linearizer, string connectionString)
 {
     _linearizer       = linearizer;
     _connectionString = connectionString;
 }