Minor comment change

This commit is contained in:
Cesar De la Torre 2017-03-21 12:58:07 -07:00
parent e9cfa5dc72
commit bb39e5fd6e

View File

@ -241,8 +241,8 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure
// Choices:
// A) Right BEFORE committing data (EF SaveChanges) into the DB will make a single transaction including
// side effects from the domain event handlers which are using the same DbContext with "InstancePerLifetimeScope" or "scoped" lifetime
// B) Right AFTER committing data (EF SaveChanges) into the DB. will make multiple transactions.
// You will need to handle eventual consistency and compensatory actions in case of failures.
// B) Right AFTER committing data (EF SaveChanges) into the DB will make multiple transactions.
// You will need to handle eventual consistency and compensatory actions in case of failures in any of the Handlers.
await _mediator.DispatchDomainEventsAsync(this);