Class ProjectionChangeset<TModel>
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents the changeset for a projection.
public record ProjectionChangeset<TModel> : IEquatable<ProjectionChangeset<TModel>>
Type Parameters
TModel
Type of model the projection is for.
- Inheritance
-
ProjectionChangeset<TModel>
- Implements
-
IEquatable<ProjectionChangeset<TModel>>
- Inherited Members
Constructors
ProjectionChangeset(EventStoreNamespaceName, ModelKey, TModel)
Represents the changeset for a projection.
public ProjectionChangeset(EventStoreNamespaceName Namespace, ModelKey ModelKey, TModel Model)
Parameters
Namespace
EventStoreNamespaceNameThe namespace for the event store.
ModelKey
ModelKeyThe ModelKey for the model.
Model
TModelThe instance of the model.
Properties
Model
The instance of the model.
public TModel Model { get; init; }
Property Value
- TModel
ModelKey
The ModelKey for the model.
public ModelKey ModelKey { get; init; }
Property Value
Namespace
The namespace for the event store.
public EventStoreNamespaceName Namespace { get; init; }