Table of Contents

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

TTarget

The target event type of the migration.

TSource

The 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

properties Action<IEventMigrationPropertyBuilder<TTarget, TSource>>

Action to configure properties.