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
Methods
Properties(Action<IEventMigrationPropertyBuilder>)
Define property migrations.
public void Properties(Action<IEventMigrationPropertyBuilder> properties)
Parameters
propertiesAction<IEventMigrationPropertyBuilder>Action to configure properties.
ToJson()
Convert the builder to a JSON object.
public JsonObject ToJson()
Returns
- JsonObject
The JsonObject representation.