I want to configure an abp.io application project to successfully map Expression<Func<TDto, bool>> to Expression<Func<TEntity, bool>> I don't know is that can be done by Volo.Abp.ObjectMapping I succussed to get mapping work like that
var mapper = new Mapper(new MapperConfiguration(cfg =>
{
cfg.AddExpressionMapping();
cfg.CreateMap<Category, CategoryDto>();
})
);
var predicateConverted =mapper.MapExpression <Expression<Func<Category, bool>>>(predicate);
but I think I should but that configuration with
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpAutoMapperOptions>(options =>
{
options.AddMaps<TesttApplicationModule>();
});
}