Interface INestedBuilder<TParentReadModel, TNestedReadModel>
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Defines the builder for building out a nested single-object relationship on a model.
public interface INestedBuilder<TParentReadModel, TNestedReadModel> : IProjectionBuilder<TNestedReadModel, INestedBuilder<TParentReadModel, TNestedReadModel>>
Type Parameters
TParentReadModelParent read model type.
TNestedReadModelNested read model type.
- Inherited Members
- Extension Methods
Methods
ClearWith<TEvent>()
Defines what event clears (sets to null) the nested object.
INestedBuilder<TParentReadModel, TNestedReadModel> ClearWith<TEvent>()
Returns
- INestedBuilder<TParentReadModel, TNestedReadModel>
Builder continuation.
Type Parameters
TEventType of event.