Mapping profile error with Link.To method
arminops opened this issue · comments
arminops commented
I'm not sure if i'm right but when using Automapper projection and use mapfrom in mapping profile we get an exception below:
The client projection contains a reference to a constant expression of 'Domain.Config.Link'. This could potentially cause a memory leak; consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.