MPACore.PhoneBook icon indicating copy to clipboard operation
MPACore.PhoneBook copied to clipboard

persons.MapTo<List<PersonListDto>>(); 方法过时了

Open shuairobin opened this issue 4 years ago • 3 comments

[Obsolete("Automapper will remove static API, Please use ObjectMapper instead. See https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4667")]

现在要改成什么方法

shuairobin avatar Oct 27 '19 02:10 shuairobin

Change to ObjectMapper.Map<List<PersonListDto>>(persons) will work

zhenl avatar Nov 27 '19 00:11 zhenl

用不了ObjectMapper,是怎么回事

thr828 avatar Apr 18 '20 15:04 thr828

用不了ObjectMapper,是怎么回事

你注入了吗

zaprays avatar May 06 '20 09:05 zaprays