You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Seeds initial data into a fresh persistence store. Seeders run after the snapshot load and
5
+
/// journal replay, only when the save is brand new (no snapshot and no journal existed), in
6
+
/// registration order. Seed writes go through the normal entity stores, so subsequent boots
7
+
/// are no longer fresh and seeders never run again. A seeder exception aborts startup.
8
+
/// If an earlier seeder's writes reach the journal before a later seeder fails, the save is no longer fresh at the next boot and the remaining seeders never run - prefer a single seeder, or make the set safe to lose a tail.
9
+
/// A seeder that performs no writes leaves the save fresh, so it runs again at every boot.
10
+
/// Class-form seeders must not constructor-inject IPersistenceService (circular resolution);
11
+
/// use the SeedAsync parameter instead.
12
+
/// </summary>
13
+
publicinterfaceIPersistenceSeeder
14
+
{
15
+
/// <summary>Writes the seed data through the normal entity stores.</summary>
16
+
/// <param name="persistence">The started persistence service.</param>
17
+
/// <param name="cancellationToken">Token used to cancel the seeding.</param>
0 commit comments