コード例 #1
0
 internal static void RunBatchUpdateStates(BatchUpdateStateInParseOptions options)
 {
     using (HarvestStateBatchUpdater updater = new HarvestStateBatchUpdater(options))
     {
         updater.BatchUpdateStates();
     }
 }
コード例 #2
0
 private HarvestStateBatchUpdater(BatchUpdateStateInParseOptions options)
     : base(new HarvesterOptions()
 {
     QueryWhere         = options.QueryWhere,
     ParseDBEnvironment = options.ParseDBEnvironment,
     Environment        = EnvironmentSetting.Local,
     SuppressLogs       = true
 })
 {
     NewState = options.NewState;
     IsDryRun = options.DryRun;
 }