Interface IAllSetBuilder<TModel, TParentBuilder>
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Defines a builder for building set operations for properties that will be applied for all events the projection is projecting from - represented as expressions.
public interface IAllSetBuilder<TModel, TParentBuilder> : IPropertyExpressionBuilder
Type Parameters
TModel
Model to build for.
TParentBuilder
Type of the parent builder.
- Inherited Members
Methods
ToEventContextProperty(Expression<Func<EventContext, object>>)
Map to a property on the EventContext.
TParentBuilder ToEventContextProperty(Expression<Func<EventContext, object>> eventContextPropertyAccessor)
Parameters
eventContextPropertyAccessor
Expression<Func<EventContext, object>>Property accessor for specifying which property to map to.
Returns
- TParentBuilder
Builder continuation.
ToEventSourceId()
Map to the event source id on the metadata of the event.
TParentBuilder ToEventSourceId()
Returns
- TParentBuilder
Builder continuation.