Interface ISaveMigration
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
One explicit source-to-target schema migration; must preserve the supplied source envelope.
public interface ISaveMigration
Properties
Domain
Save domain accepted by this migration.
SaveDomain Domain { get; }
Property Value
FromVersion
Exact source schema version accepted by this migration.
int FromVersion { get; }
Property Value
ToVersion
Target schema version produced by this migration.
int ToVersion { get; }
Property Value
Methods
Migrate(SaveEnvelope)
Returns the next-schema envelope without modifying the supplied source; preserve domain and ownership metadata.
SaveEnvelope Migrate(SaveEnvelope source)
Parameters
sourceSaveEnvelope