Class EventMigrationBuilderFor<TTarget, TSource>
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
Represents an implementation of IEventMigrationBuilder<TTarget, TSource> that delegates to the underlying IEventMigrationBuilder.
public class EventMigrationBuilderFor<TTarget, TSource> : IEventMigrationBuilder<TTarget, TSource>
Type Parameters
TTargetThe target event type of the migration.
TSourceThe source event type of the migration.
- Inheritance
-
EventMigrationBuilderFor<TTarget, TSource>
- Implements
-
IEventMigrationBuilder<TTarget, TSource>
- Inherited Members
Constructors
EventMigrationBuilderFor(IEventMigrationBuilder)
Represents an implementation of IEventMigrationBuilder<TTarget, TSource> that delegates to the underlying IEventMigrationBuilder.
public EventMigrationBuilderFor(IEventMigrationBuilder inner)
Parameters
innerIEventMigrationBuilderThe underlying IEventMigrationBuilder to delegate to.
Methods
Properties(Action<IEventMigrationPropertyBuilder<TTarget, TSource>>)
Define property migrations using expression-based property accessors.
public void Properties(Action<IEventMigrationPropertyBuilder<TTarget, TSource>> properties)
Parameters
propertiesAction<IEventMigrationPropertyBuilder<TTarget, TSource>>Action to configure properties.