Table of Contents

Class EventMigrationBuilder

Namespace
Cratis.Chronicle.Events.Migrations
Assembly
Cratis.Chronicle.dll

Represents an implementation of IEventMigrationBuilder.

public class EventMigrationBuilder : IEventMigrationBuilder
Inheritance
EventMigrationBuilder
Implements
Inherited Members

Properties

PropertyBuilders

Gets all the property builders.

public IReadOnlyList<EventMigrationPropertyBuilder> PropertyBuilders { get; }

Property Value

IReadOnlyList<EventMigrationPropertyBuilder>

Methods

Properties(Action<IEventMigrationPropertyBuilder>)

Define property migrations.

public void Properties(Action<IEventMigrationPropertyBuilder> properties)

Parameters

properties Action<IEventMigrationPropertyBuilder>

Action to configure properties.

ToJson()

Convert the builder to a JSON object.

public JsonObject ToJson()

Returns

JsonObject

The JsonObject representation.