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

TParentReadModel

Parent read model type.

TNestedReadModel

Nested 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

TEvent

Type of event.