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