Pregunta

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.

¿Fue útil?

Solución

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 bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top