Is there a way to implement dependency injection with Entity framework and lazy loading?
I am aware of method when you are hooking to ObjectStateManagerChanged
, but I'd like to use constructor injection instead, and keep my model entities unaware of any IOC containers. (Lets say I have separated BLL and DAL and want to keep my BLL with least external dependencies possible).
Thank you.