You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anyone reading this, perhaps stumbling upon this issue. The this.CreateMultiLingualMap() needs to be the last statement of your Entity/Dto configuration.
CreateMap<ScenarioCreateDto,Scenario>().IgnoreFullAuditedObjectProperties().Ignore(x =>x.Id).Ignore(x =>x.TenantId);CreateMap<ScenarioUpdateDto,Scenario>().IgnoreFullAuditedObjectProperties().Ignore(x =>x.Id).Ignore(x =>x.TenantId);CreateMap<ScenarioDto,ScenarioCreateDto>();CreateMap<ScenarioDto,ScenarioUpdateDto>();CreateMap<Scenario,ScenarioDto>();CreateMap<ScenarioDetails,ScenarioDetailsDto>();CreateMap<ScenarioTranslation,ScenarioTranslationDto>().ReverseMap();// Needed for Updating!// If this statement is not last, the **BeforeMap** will **NOT** trigger!this.CreateMultiLingualMap<Scenario,ScenarioTranslation,ScenarioDetailsDto>();
The text was updated successfully, but these errors were encountered:
For anyone reading this, perhaps stumbling upon this issue. The
this.CreateMultiLingualMap()
needs to be the last statement of your Entity/Dto configuration.The text was updated successfully, but these errors were encountered: