We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f47dde9 commit 7475427Copy full SHA for 7475427
1 file changed
Refresh.Workers/MigrationJob.cs
@@ -56,7 +56,8 @@ public override void ExecuteJob(WorkContext context)
56
/// <returns>
57
/// The number of entities in the batch, minus the number of entities removed from DB during this migration.
58
/// E.g. if 1000 items are in the given batch, and 5 got removed from DB during migration,
59
- /// the returned number will be 1000 - 5 = 995
+ /// the returned number will be 1000 - 5 = 995.
60
+ /// This allows you to write migration jobs, which need to delete entities from the given batch, without breaking pagination done by the worker.
61
/// </returns>
62
protected abstract int Migrate(WorkContext context, TEntity[] batch);
63
}
0 commit comments