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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -