c# - AutoMapper.CreateMapExpression<TDE, TD> throws "Argument types do not match" exception -
i developing mvc web application using razor view engine. using entity framework , using database first architecture. using automapper.mapper mapping entities , poco classes i.e. models view struct @ data database using ef.
i error @ second line while executing mapper.createmapexpression
var detailcollection = getrelatedcollection(entity);// method data var selectexpression = mapper.createmapexpression<tde, td>(); //select expression entity return detailcollection.asqueryable().select(selectexpression);
Comments
Post a Comment