Interface IEventTypeMigration
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
Defines an event type migration.
public interface IEventTypeMigration
Properties
From
Gets the generation to migrate from.
EventTypeGeneration From { get; }
Property Value
To
Gets the generation to migrate to.
EventTypeGeneration To { get; }
Property Value
Methods
Downcast(IEventMigrationBuilder)
Define the downcast migration.
void Downcast(IEventMigrationBuilder builder)
Parameters
builderIEventMigrationBuilderThe IEventMigrationBuilder to use.
Upcast(IEventMigrationBuilder)
Define the upcast migration.
void Upcast(IEventMigrationBuilder builder)
Parameters
builderIEventMigrationBuilderThe IEventMigrationBuilder to use.