Pergunta

Does anything like QueryableExtensions for Automapper exist for ValueInjecter?

For those unfamiliar with this functionality it allows for the automatic projection of properties to be performed for linq queries so that only the needed columns are selected from the database when projecting an entity to a simple DTO.

Foi útil?

Solução

I suppose you need only the needed property getters to be called, try the SmartConventionInjection, this injection will only get the value of the property when it's needed, it also remembers the matching properties between types so that next time it will work faster

https://valueinjecter.codeplex.com/wikipage?title=SmartConventionInjection&referringTitle=Home

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top