常用方法
常用方法
常用方法
常用方法
private async Task FillAggregateHistoryAsync(IAggregateRoot aggregate) { var history = await Store.GetAsync(aggregate.Id, 0); aggregate.LoadFromHistory(history); }
private async Task FillAggregateHistoryAsync(IAggregateRoot aggregate) { var history = await Store.GetAsync(aggregate.Id, 0); aggregate.LoadFromHistory(history); }