Interface IEventMigrationBuilder<TTarget, TSource>
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
Defines a type-safe builder for event migrations between two event type generations.
public interface IEventMigrationBuilder<TTarget, TSource>
Type Parameters
TTargetThe target event type of the migration.
TSourceThe source event type of the migration.
Methods
Properties(Action<IEventMigrationPropertyBuilder<TTarget, TSource>>)
Define property migrations using expression-based property accessors.
void Properties(Action<IEventMigrationPropertyBuilder<TTarget, TSource>> properties)
Parameters
propertiesAction<IEventMigrationPropertyBuilder<TTarget, TSource>>Action to configure properties.